artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e86931
)
drm/edid: Fix minimum bpc supported with DSC1.2 for HDMI sink
author
jsg
<jsg@openbsd.org>
Mon, 27 Feb 2023 02:01:38 +0000
(
02:01
+0000)
committer
jsg
<jsg@openbsd.org>
Mon, 27 Feb 2023 02:01:38 +0000
(
02:01
+0000)
From Ankit Nautiyal
0deb50618944aed143269214daea0ba2ddf2222d
in linux-6.1.y/6.1.14
18feaf6d0784dcba888859109676adf1e0260dfd
in mainline linux
sys/dev/pci/drm/drm_edid.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/drm_edid.c
b/sys/dev/pci/drm/drm_edid.c
index
cb0af30
..
77c6e5a
100644
(file)
--- a/
sys/dev/pci/drm/drm_edid.c
+++ b/
sys/dev/pci/drm/drm_edid.c
@@
-5857,7
+5857,8
@@
static void drm_parse_hdmi_forum_scds(struct drm_connector *connector,
else if (hf_scds[11] & DRM_EDID_DSC_10BPC)
hdmi_dsc->bpc_supported = 10;
else
- hdmi_dsc->bpc_supported = 0;
+ /* Supports min 8 BPC if DSC 1.2 is supported*/
+ hdmi_dsc->bpc_supported = 8;
dsc_max_frl_rate = (hf_scds[12] & DRM_EDID_DSC_MAX_FRL_RATE_MASK) >> 4;
drm_get_max_frl_rate(dsc_max_frl_rate, &hdmi_dsc->max_lanes,