Merge tag 'LA.UM.9.14.r1-21600-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver into android13-5.4-lahaina
"LA.UM.9.14.r1-21600-LAHAINA.QSSI14.0" * tag 'LA.UM.9.14.r1-21600-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver: msm: vidc: Add clock/bus votes for eos/flush commands Change-Id: I1ca5d61287c51a315fb907ecdeb2f11718965e2d
This commit is contained in:
commit
2b5bca9f1d
@ -318,8 +318,16 @@ int msm_comm_set_buses(struct msm_vidc_core *core, u32 sid)
|
||||
mutex_unlock(&inst->registeredbufs.lock);
|
||||
|
||||
if (!filled_len || !device_addr) {
|
||||
mutex_lock(&inst->eosbufs.lock);
|
||||
if (list_empty(&inst->eosbufs.list) &&
|
||||
!inst->in_flush && !inst->out_flush) {
|
||||
s_vpr_l(sid, "%s: No pending eos/flush cmds\n",
|
||||
__func__);
|
||||
mutex_unlock(&inst->eosbufs.lock);
|
||||
continue;
|
||||
}
|
||||
mutex_unlock(&inst->eosbufs.lock);
|
||||
s_vpr_l(sid, "%s: no input\n", __func__);
|
||||
continue;
|
||||
}
|
||||
|
||||
/* skip inactive session bus bandwidth */
|
||||
@ -856,8 +864,16 @@ int msm_vidc_set_clocks(struct msm_vidc_core *core, u32 sid)
|
||||
mutex_unlock(&inst->registeredbufs.lock);
|
||||
|
||||
if (!filled_len || !device_addr) {
|
||||
mutex_lock(&inst->eosbufs.lock);
|
||||
if (list_empty(&inst->eosbufs.list) && !inst->in_flush
|
||||
&& !inst->out_flush) {
|
||||
s_vpr_l(sid, "%s: No pending eos/flush cmds\n",
|
||||
__func__);
|
||||
mutex_unlock(&inst->eosbufs.lock);
|
||||
continue;
|
||||
}
|
||||
mutex_unlock(&inst->eosbufs.lock);
|
||||
s_vpr_l(sid, "%s: no input\n", __func__);
|
||||
continue;
|
||||
}
|
||||
|
||||
/* skip inactive session clock rate */
|
||||
|
Loading…
Reference in New Issue
Block a user