mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
ed1536e0b6
Deleted (upstreamed): generic/backport-5.15/890-v5.19-net-sfp-Add-tx-fault-workaround-for-Huawei-MA5671A-SFP-ON.patch [1] Other patches automatically rebased. [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.41&id=99858114a3b2c8f5f8707d9bbd46c50f547c87c0 Signed-off-by: Rui Salvaterra <rsalvaterra@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
|
|
@@ -1415,9 +1415,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;
|