drm/edid: Fix minimum bpc supported with DSC1.2 for HDMI sink
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Fri, 16 Sep 2022 10:05:48 +0000 (15:35 +0530)
committerJani Nikula <jani.nikula@intel.com>
Tue, 4 Oct 2022 17:35:43 +0000 (20:35 +0300)
commit18feaf6d0784dcba888859109676adf1e0260dfd
tree041c4c7d12bdb0a5143586a33f700c2f654fd675
parentf633a206ca3485adcfef4186b0c0f1ab03743b25
drm/edid: Fix minimum bpc supported with DSC1.2 for HDMI sink

HF-VSDB/SCDB has bits to advertise support for 16, 12 and 10 bpc.
If none of the bits are set, the minimum bpc supported with DSC is 8.

This patch corrects the min bpc supported to be 8, instead of 0.

Fixes: 76ee7b905678 ("drm/edid: Parse DSC1.2 cap fields from HFVSDB block")
Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Cc: Uma Shankar <uma.shankar@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
v2: s/DSC1.2/DSC 1.2

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220916100551.2531750-2-ankit.k.nautiyal@intel.com
drivers/gpu/drm/drm_edid.c