Skip to content

Commit 8fa7f51

Browse files
Alex Hunggregkh
authored andcommitted
drm/amd/display: Fix black screen with HDMI outputs
commit fdc93be upstream. [Why & How] This fixes the black screen issue on certain APUs with HDMI, accompanied by the following messages: amdgpu 0000:c4:00.0: amdgpu: [drm] Failed to setup vendor info frame on connector DP-1: -22 amdgpu 0000:c4:00.0: [drm] Cannot find any crtc or sizes [drm] Cannot find any crtc or sizes Fixes: 489f0f6 ("drm/amd/display: Fix DVI-D/HDMI adapters") Suggested-by: Timur Kristóf <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Hung <[email protected]> Signed-off-by: Ray Wu <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit 678c901) Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent f10a6f5 commit 8fa7f51

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/amd/display/dc/link/link_detection.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,6 +1114,7 @@ static bool detect_link_and_local_sink(struct dc_link *link,
11141114
!sink->edid_caps.edid_hdmi)
11151115
sink->sink_signal = SIGNAL_TYPE_DVI_SINGLE_LINK;
11161116
else if (dc_is_dvi_signal(sink->sink_signal) &&
1117+
dc_is_dvi_signal(link->connector_signal) &&
11171118
aud_support->hdmi_audio_native &&
11181119
sink->edid_caps.edid_hdmi)
11191120
sink->sink_signal = SIGNAL_TYPE_HDMI_TYPE_A;

0 commit comments

Comments
 (0)