drm/bridge: synopsys: dw-hdmi: set print level to debug if not support hdr

If encoder does not support HDR, the DRM_ERROR print in
hdmi_config_hdr_infoframe would be misleading to there is
abnormal error in drm/hdmi. Now change it to DRM_DEBUG.

Change-Id: Icdaa4ea408542c6428e22948522ed2017475ea18
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
This commit is contained in:
Zheng Yang
2018-11-02 09:02:31 +08:00
parent 4bf28537d2
commit 7cc71c2e2f

View File

@@ -1826,7 +1826,7 @@ static void hdmi_config_hdr_infoframe(struct dw_hdmi *hdmi)
/* Dynamic Range and Mastering Infoframe is introduced in v2.11a. */
if (hdmi->version < 0x211a) {
DRM_ERROR("Not support DRM Infoframe\n");
DRM_DEBUG("Not support DRM Infoframe\n");
return;
}