Browse Source

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 <[email protected]>
Yashwanth 4 năm trước cách đây
mục cha
commit
638de5f7dd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      msm/sde/sde_kms.c

+ 1 - 1
msm/sde/sde_kms.c

@@ -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);