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

Commit 5af2be7a authored by Deva Ramasubramanian's avatar Deva Ramasubramanian
Browse files

msm: vidc: Generalize decoder DCVS threshold for all usecases



Previously the lower DCVS threshold assumed that the client (typically)
display would hold around 5 buffers.  However, this really isn't the
case for certain clients which might hold additional buffers for
arbitrary reasons.  This breaks the assumptions and ultimately ruins the
DCVS algorithm.

To avoid this, set the lower threshold to mean all extra buffers that
are allocated outside the minimum count that the firmware requires (plus
one to account for buffers in transit across various components).

Change-Id: Id85305243bd36ea4049bd9457d07b3d00729196b
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>
parent 266cc964
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