mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 03:24:19 +02:00
drm/amd/display: downgrade HDMI infoframe error to one time warning
In certain config, a modeprobe test triggers too many instances of the
error related to infoframe. Make it print only once, and also make it a
warning.
Fixes: 6027cbee19 ("drm/amd/display: Add error check for avi and vendor infoframe setup function")
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Reviewed-by: Chengjun Yao <Chengjun.Yao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
7295e00df0
commit
d85212e1ce
|
|
@ -6469,13 +6469,13 @@ static void fill_stream_properties_from_drm_display_mode(
|
|||
(struct drm_connector *)connector,
|
||||
mode_in);
|
||||
if (err < 0)
|
||||
drm_err(connector->dev, "Failed to setup avi infoframe: %zd\n", err);
|
||||
drm_warn_once(connector->dev, "Failed to setup avi infoframe on connector %s: %zd \n", connector->name, err);
|
||||
timing_out->vic = avi_frame.video_code;
|
||||
err = drm_hdmi_vendor_infoframe_from_display_mode(&hv_frame,
|
||||
(struct drm_connector *)connector,
|
||||
mode_in);
|
||||
if (err < 0)
|
||||
drm_err(connector->dev, "Failed to setup vendor infoframe: %zd\n", err);
|
||||
drm_warn_once(connector->dev, "Failed to setup vendor infoframe on connector %s: %zd \n", connector->name, err);
|
||||
timing_out->hdmi_vic = hv_frame.vic;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user