Skip to content

Commit 6043235

Browse files
HiassofTpelwell
authored andcommitted
drm/vc4: hdmi: Fix no video output on DVI monitors
The drm edid parser doesn't signal RGB support on DVI monitors with old edid versions, leading to 8-bit RGB mode being rejected and no video on DVI monitors. As 8-bit RGB is mandatory on HDMI and DVI monitors anyways we can simply drop the RGB format check, aligning vc4 with other drivers. Signed-off-by: Matthias Reichl <[email protected]>
1 parent 7bd9075 commit 6043235

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/gpu/drm/vc4/vc4_hdmi.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1608,9 +1608,6 @@ vc4_hdmi_sink_supports_format_bpc(const struct vc4_hdmi *vc4_hdmi,
16081608
case VC4_HDMI_OUTPUT_RGB:
16091609
drm_dbg(dev, "RGB Format, checking the constraints.\n");
16101610

1611-
if (!(info->color_formats & DRM_COLOR_FORMAT_RGB444))
1612-
return false;
1613-
16141611
if (bpc == 10 && !(info->edid_hdmi_rgb444_dc_modes & DRM_EDID_HDMI_DC_30)) {
16151612
drm_dbg(dev, "10 BPC but sink doesn't support Deep Color 30.\n");
16161613
return false;

0 commit comments

Comments
 (0)