drm/display/dp: Fix the DP DSC Receiver cap size
authorjsg <jsg@openbsd.org>
Thu, 31 Aug 2023 04:43:23 +0000 (04:43 +0000)
committerjsg <jsg@openbsd.org>
Thu, 31 Aug 2023 04:43:23 +0000 (04:43 +0000)
From Ankit Nautiyal
3bc9b0364a8c64d1bb1757b620ea3b9104e8054b in linux-6.1.y/6.1.50
5ad1ab30ac0809d2963ddcf39ac34317a24a2f17 in mainline linux

sys/dev/pci/drm/include/drm/display/drm_dp.h

index 05f2cc0..b235d68 100644 (file)
@@ -1525,7 +1525,7 @@ enum drm_dp_phy {
 
 #define DP_BRANCH_OUI_HEADER_SIZE      0xc
 #define DP_RECEIVER_CAP_SIZE           0xf
-#define DP_DSC_RECEIVER_CAP_SIZE        0xf
+#define DP_DSC_RECEIVER_CAP_SIZE        0x10 /* DSC Capabilities 0x60 through 0x6F */
 #define EDP_PSR_RECEIVER_CAP_SIZE      2
 #define EDP_DISPLAY_CTL_CAP_SIZE       3
 #define DP_LTTPR_COMMON_CAP_SIZE       8