Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bd62c1ee authored by Deva Ramasubramanian's avatar Deva Ramasubramanian
Browse files

msm: vidc: Allocate ocmem immediately after initialising f/w



We're freeing ocmem just prior to unloading the firmware but allocating
it after intialising a session.  This is somewhat asymmetric and makes
the code confusing to follow.

Hence allocate it just after initialising the firmware.  Since ocmem is
a core resource, we don't need an active session to allocate and provide
to firmware.

Change-Id: I3673b5506e165ac4558b3d820f31e4bba7f24047
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>
parent 4cbea559
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment