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

Skip to content
Commit f7d96082 authored by Qiwei Liu's avatar Qiwei Liu
Browse files

msm: vidc: Fix incorrect fbd count issue



Currently fbd count will increase not only when firmware
report fbd, but also when some pending ftbs hold by driver
are flushed out. This causes fbd count larger than
actual value after seek/flush events, and will cause
DCVS got wrong fw_pending_bufs value and set lower
clock rate than expected.
Modify the place for fbd count++, only do this when handle
firmware reported fbds.

CRs-Fixed: 2086192
Change-Id: I9989fcf86d51873d99a51adf18079353070a2a3f
Signed-off-by: default avatarQiwei Liu <qiweil@codeaurora.org>
parent 1ded649b
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