summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorOliver Brown <oliver.brown@nxp.com>2019-03-22 08:29:01 -0500
committerOliver Brown <oliver.brown@nxp.com>2019-03-22 09:47:34 -0500
commit25745530ffeae986b220078aac0e6c24e8bdb98e (patch)
tree55455e71335e7b82e13275c810e0d2aef0fddb83 /drivers/gpu
parentcfedc1269f35054c79d7fd2e2a914e97a4c1a47a (diff)
MLK-21227: drm: imx: hdp: imx8: Change link rate message
Changing error message "Link rate is too high - forcing link to lower rate" to a debug message "Lowering DP link rate from <old rate> to <new rate>". Signed-off-by: Oliver Brown <oliver.brown@nxp.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/imx/hdp/imx-hdp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/imx/hdp/imx-hdp.c b/drivers/gpu/drm/imx/hdp/imx-hdp.c
index 2596e0c8c5bd..bcfad522df43 100644
--- a/drivers/gpu/drm/imx/hdp/imx-hdp.c
+++ b/drivers/gpu/drm/imx/hdp/imx-hdp.c
@@ -751,8 +751,9 @@ static void imx_hdp_mode_setup(struct imx_hdp *hdp,
imx_hdp_call(hdp, pixel_link_mux, &hdp->state, mode);
hdp->link_rate = imx_hdp_link_rate(mode);
- if (hdp->link_rate > hdp->dp_link_rate) {
- DRM_WARN("Link rate is too high - forcing link to lower rate\n");
+ if (hdp->is_dp && hdp->link_rate > hdp->dp_link_rate) {
+ DRM_DEBUG("Lowering DP link rate from %d to %d\n",
+ hdp->link_rate, hdp->dp_link_rate);
hdp->link_rate = hdp->dp_link_rate;
}