فهرست منبع

disp: msm: sde: change log level from error to debug when CRTC is null

Encoder CRTC can be null during modeset concurrecy, so change the log
level from error to debug when CRTC is null for display early wakeup.

Change-Id: I67c2413a284d70c415616921608eaebdf0f7a298
Signed-off-by: Lei Chen <[email protected]>
Lei Chen 4 سال پیش
والد
کامیت
91dbcc12f6
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      msm/sde/sde_encoder.c

+ 1 - 1
msm/sde/sde_encoder.c

@@ -3730,7 +3730,7 @@ void sde_encoder_early_wakeup(struct drm_encoder *drm_enc)
 
 	if (!sde_enc->crtc || (sde_enc->crtc->index
 			>= ARRAY_SIZE(priv->event_thread))) {
-		SDE_ERROR("invalid CRTC: %d or crtc index: %d\n",
+		SDE_DEBUG_ENC(sde_enc, "invalid CRTC: %d or crtc index: %d\n",
 			sde_enc->crtc == NULL,
 			sde_enc->crtc ? sde_enc->crtc->index : -EINVAL);
 		return;