On 4/23/2026 8:00 PM, Nemesa Garg wrote:
The dsc max bpp delta masks were incorrectly placed
under the DP_DSC_BITS_PER_PIXEL_INC(0x06F) register.
Move these under correct DP_DSC_MAX_BPP_DELTA(0x06E)
register.

v2: Separate patch for correcting register. [Ankit]

Signed-off-by: Nemesa Garg <[email protected]>
---
  include/drm/display/drm_dp.h | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/drm/display/drm_dp.h b/include/drm/display/drm_dp.h
index 8b15d3eeb716..520490ac6778 100644
--- a/include/drm/display/drm_dp.h
+++ b/include/drm/display/drm_dp.h
@@ -354,9 +354,11 @@
  # define DP_DSC_20_PER_DP_DSC_SINK          (1 << 1)
  # define DP_DSC_24_PER_DP_DSC_SINK          (1 << 2)
-#define DP_DSC_BITS_PER_PIXEL_INC 0x06F
+#define DP_DSC_MAX_BPP_DELTA               0x06E
  # define DP_DSC_RGB_YCbCr444_MAX_BPP_DELTA_MASK 0x1f
  # define DP_DSC_RGB_YCbCr420_MAX_BPP_DELTA_MASK 0xe0

This should be called DP_DSC_Native_YCbCr420_MAX_BPP_DELTA_MASK

But that should be yet another patch.

Reviewed-by: Ankit Nautiyal <[email protected]>



+
+#define DP_DSC_BITS_PER_PIXEL_INC           0x06F
  # define DP_DSC_BITS_PER_PIXEL_1_16         0x0
  # define DP_DSC_BITS_PER_PIXEL_1_8          0x1
  # define DP_DSC_BITS_PER_PIXEL_1_4          0x2

Reply via email to