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 <quic_ngunabal@quicinc.com>
This commit is contained in:
Nilaan Gunabalachandran
2023-03-03 10:24:27 -05:00
committed by Gerrit - the friendly Code Review server
parent c3622fa326
commit ecdf523387

View File

@@ -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;
}