瀏覽代碼

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 年之前
父節點
當前提交
638de5f7dd
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);