Browse Source

disp: msm: sde: silence ppb horizontal width check

PPB size programming checks for the max horizontal width of the
panel by checking all available modes. In some DP usecases,
it is possible that this information is not ready at this point.
However, this is not an error, as by default driver will set the
maximum size.

This change reduces the error log to a debug warning.

Change-Id: Ieb63524457db410a2569682f2c3863e082c60805
Signed-off-by: Nilaan Gunabalachandran <[email protected]>
Nilaan Gunabalachandran 2 years ago
parent
commit
ecdf523387
1 changed files with 1 additions and 1 deletions
  1. 1 1
      msm/sde/sde_encoder.c

+ 1 - 1
msm/sde/sde_encoder.c

@@ -1493,7 +1493,7 @@ static void _sde_encoder_update_ppb_size(struct drm_encoder *drm_enc)
 		} else if (hw_mdp->ops.set_ppb_fifo_size) {
 			maxw = sde_conn_get_max_mode_width(sde_enc->cur_master->connector);
 			if (!maxw) {
-				SDE_ERROR_ENC(sde_enc, "failed to get max horizantal resolution\n");
+				SDE_DEBUG_ENC(sde_enc, "failed to get max horizantal resolution\n");
 				return;
 			}