mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
disp: msm: sde: do DRM encoder NULL check before waking up display
DRM encoder can be NULL during modeset concurrency, so add this change to check drm encoder and only wake up display when drm encoder is available. Change-Id: I50dd85eb39567aba4895dc19801020d7ead841b8 Signed-off-by: Lei Chen <chenlei@codeaurora.org>
This commit is contained in:
parent
45d0998b96
commit
ad0b79b8d7
1 changed files with 2 additions and 1 deletions
|
|
@ -3220,7 +3220,8 @@ void sde_kms_display_early_wakeup(struct drm_device *dev,
|
|||
else
|
||||
drm_enc = conn->encoder;
|
||||
|
||||
sde_encoder_early_wakeup(drm_enc);
|
||||
if (drm_enc)
|
||||
sde_encoder_early_wakeup(drm_enc);
|
||||
}
|
||||
|
||||
drm_connector_list_iter_end(&conn_iter);
|
||||
|
|
|
|||
Loading…
Reference in a new issue