mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
disp: msm: sde: update irq enable check during irq affinity notify
MDSS irq will be enabled/disabled only during post-enable and pre-disable power events. During idle usecase in video mode, interrupts will be disabled but not mdss hw irq. This change uses irq vote count check while adding pm qos irq vote. Change-Id: Iae0ea19fbe688d0ee762b5e75f37548ba5671def Signed-off-by: Yashwanth <yvulapu@codeaurora.org>
This commit is contained in:
parent
8510269a39
commit
638de5f7dd
1 changed files with 1 additions and 1 deletions
|
|
@ -3732,7 +3732,7 @@ static void sde_kms_irq_affinity_notify(
|
|||
sde_kms->irq_cpu_mask = *mask;
|
||||
|
||||
// request vote with updated irq cpu mask
|
||||
if (sde_kms->irq_enabled)
|
||||
if (atomic_read(&sde_kms->irq_vote_count))
|
||||
_sde_kms_update_pm_qos_irq_request(sde_kms);
|
||||
|
||||
mutex_unlock(&priv->phandle.phandle_lock);
|
||||
|
|
|
|||
Loading…
Reference in a new issue