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

Commit 389899b2 authored by Sachin Bhayare's avatar Sachin Bhayare Committed by Gerrit - the friendly Code Review server
Browse files

mdss: dsi: Enhance the TE based ESD handling



The current implementation enables TE based IRQ in resume and
disables only in suspend. This results in many IRQs to be fired
even when there are no active frame updates, causing unnecessary
CPU wakeups. To overcome this, following approach has been adopted:
* Enable TE IRQ only when ESD thread is scheduled
* Wait for IRQ to be asserted for a maximum duration of 3 vsyncs.
* If not asserted in the given time period, report panel dead due
to ESD attack.

In this way, TE IRQ rate is bound by ESD interval without
altering the main objective of this approach.

Change-Id: I59fe2ae79e88e5687a45209ebfb1e6b42af110bf
Signed-off-by: default avatarSachin Bhayare <sachin.bhayare@codeaurora.org>
parent f5be93c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment