From: jsg Date: Mon, 27 Feb 2023 02:01:38 +0000 (+0000) Subject: drm/edid: Fix minimum bpc supported with DSC1.2 for HDMI sink X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=01f821cd2342001c6e0d821eeb1d7bdf61bcb062;p=openbsd drm/edid: Fix minimum bpc supported with DSC1.2 for HDMI sink From Ankit Nautiyal 0deb50618944aed143269214daea0ba2ddf2222d in linux-6.1.y/6.1.14 18feaf6d0784dcba888859109676adf1e0260dfd in mainline linux --- diff --git a/sys/dev/pci/drm/drm_edid.c b/sys/dev/pci/drm/drm_edid.c index cb0af3084ef..77c6e5ab31e 100644 --- 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,