mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00:00
20ea6adbf1
Build system: x86_64 Build-tested: bcm2708, bcm2709, bcm2710, bcm2711 Run-tested: bcm2708/RPiB+, bcm2709/RPi3B, bcm2710/RPi3B, bcm2711/RPi4B Signed-off-by: Marty Jones <mj8263788@gmail.com> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
From 64c3b233b38af0817c70d142c65b915ca1fbc71a Mon Sep 17 00:00:00 2001
|
|
From: Matthias Reichl <hias@horus.com>
|
|
Date: Thu, 30 Dec 2021 15:12:19 +0100
|
|
Subject: [PATCH] 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>
|
|
---
|
|
drivers/gpu/drm/vc4/vc4_hdmi.c | 3 ---
|
|
1 file changed, 3 deletions(-)
|
|
|
|
--- a/drivers/gpu/drm/vc4/vc4_hdmi.c
|
|
+++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
|
|
@@ -1414,9 +1414,6 @@ vc4_hdmi_sink_supports_format_bpc(const
|
|
case VC4_HDMI_OUTPUT_RGB:
|
|
drm_dbg(dev, "RGB Format, checking the constraints.\n");
|
|
|
|
- if (!(info->color_formats & DRM_COLOR_FORMAT_RGB444))
|
|
- return false;
|
|
-
|
|
if (bpc == 10 && !(info->edid_hdmi_rgb444_dc_modes & DRM_EDID_HDMI_DC_30)) {
|
|
drm_dbg(dev, "10 BPC but sink doesn't support Deep Color 30.\n");
|
|
return false;
|