Skip to content

Commit a0cc201

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 <hias@horus.com>
1 parent 4703836 commit a0cc201

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎drivers/gpu/drm/vc4/vc4_hdmi.c‎

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

1418-
if (!(info->color_formats & DRM_COLOR_FORMAT_RGB444))
1419-
return false;
1420-
14211418
if (bpc == 10 && !(info->edid_hdmi_dc_modes & DRM_EDID_HDMI_DC_30)) {
14221419
drm_dbg(dev, "10 BPC but sink doesn't support Deep Color 30.\n");
14231420
return false;

0 commit comments

Comments
 (0)