2c2f2d34480d25887a441e6b08a3f127542b14b9
During PM suspend in dual display usecase, the power off commit to turn off primary and secondary crtcs is done with only one drm_atomic_state scheduled on primary crtc_commit thread. At the same, touch events can happen on secondary panel, which will run input_event_work and schedule the sde_enc->delayed_off_work to turn off its enabled resources. There can be race between primary crtc_commit thread which unregisters input_event, cancels all the pending works before setting sde_enc->cur_master to NULL and input_event_work_handler which schedules the delayed_off_work without checking the input_event_handler state. This change adds input handler unregister check before triggering _sde_encoder_rc_early_wakeup. Change-Id: I553843f81078810784f18e92347f918ab6e4a9fe Signed-off-by: Jayaprakash Madisetty <quic_jmadiset@quicinc.com>
Description
No description provided
Languages
C
99.7%
Makefile
0.2%