Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ec0f2a9 authored by Yashwanth's avatar Yashwanth
Browse files

disp: msm: sde: remove previous pm qos irq vote during affinity change



In the current code during affinity change, irq cpu mask is
being updated without clearing previous pm qos vote. Due to
this, even after entering idle state, qos vote is still
present on other cpus. This change clears previous pm qos
vote before adding another.

Change-Id: Ic0326a09d37d03d5a8b0444362a6f1492993040c
Signed-off-by: default avatarYashwanth <yvulapu@codeaurora.org>
parent 683bf52c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3823,6 +3823,7 @@ static void sde_kms_irq_affinity_notify(

	mutex_lock(&priv->phandle.phandle_lock);

	_sde_kms_remove_pm_qos_irq_request(sde_kms);
	// save irq cpu mask
	sde_kms->irq_cpu_mask = *mask;