disp: msm: sde: add pm QoS vote on CPU receiving display IRQ

Add a QoS vote on CPU receiving display interrupt. QoS vote
will prevent that CPU from going into low power mode avoiding
possible interrupt latency. Using irq notifier, display will
receive notification when display IRQ has switched CPUs and
will adjust the vote accordingly. The vote is also removed and
requested whenever display IRQ is enabled or disabled.

Change-Id: I94b4501896b4b20b37deaca90d6b5ff883d56621
Signed-off-by: Samantha Tran <samtran@codeaurora.org>
Signed-off-by: Lei Chen <chenlei@codeaurora.org>
Šī revīzija ir iekļauta:
Samantha Tran
2020-01-15 10:21:54 -08:00
revīziju iesūtīja Lei Chen
vecāks 9575e1f87e
revīzija e85a88ea01
2 mainīti faili ar 95 papildinājumiem un 1 dzēšanām

Parādīt failu

@@ -302,6 +302,10 @@ struct sde_kms {
bool first_kickoff;
bool qdss_enabled;
cpumask_t irq_cpu_mask;
struct dev_pm_qos_request pm_qos_irq_req[NR_CPUS];
struct irq_affinity_notify affinity_notify;
};
struct vsync_info {