mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
Merge "msm: vidc: Fix mbpf calculation for active session"
This commit is contained in:
commit
9fa40378bf
1 changed files with 3 additions and 2 deletions
|
|
@ -5765,8 +5765,9 @@ static int msm_vidc_check_mbpf_supported(struct msm_vidc_inst *inst)
|
|||
|
||||
mutex_lock(&core->lock);
|
||||
list_for_each_entry(temp, &core->instances, list) {
|
||||
/* ignore invalid session */
|
||||
if (temp->state == MSM_VIDC_CORE_INVALID)
|
||||
/* ignore invalid and completed session */
|
||||
if (temp->state == MSM_VIDC_CORE_INVALID ||
|
||||
temp->state >= MSM_VIDC_STOP_DONE)
|
||||
continue;
|
||||
/* ignore thumbnail session */
|
||||
if (is_thumbnail_session(temp))
|
||||
|
|
|
|||
Loading…
Reference in a new issue