drm/msm/sde: handle irq disable case for pp timeout
It may possible that some kernel driver "X" disables the interrupt for long duration (more than 100ms). The kernel won't receives the jiffie or any other interrupt during this time frame. Once driver "X" reenable the interrupt all the drivers start receiving the interrupt and process them. Timers are also updated at this time and sde driver might start process the pp_timeout if it was waiting for previous frame done. Such race condition can be avoided by detecting this error condition and wait for few more jifies. Change-Id: I47d467f71d3bec982a65e4d522b66bd2e63bb752 Signed-off-by:Raviteja Tamatam <travitej@codeaurora.org> Signed-off-by:
Dhaval Patel <pdhaval@codeaurora.org>
Loading
Please register or sign in to comment