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

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

msm: vidc: Vote for buses immediately after allocing and freeing ocmem



Currently, ocmem bus is voted for accidently when vote_buses is called
as part of a qbuf or a dqbuf. However, this relies on some other driver
helpfully voting for the bus so that Venus isn't blocked on processing a
frame.

The Venus driver needs to vote the ocmem bus well before Venus does
anything with ocmem, as such vote immediately after allocating ocmem.

Change-Id: I34d5a48c721d6c55d351fa9a7cf702c5127ea116
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>
parent 8b606f17
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