Skip to content

Commit 0d68683

Browse files
committed
drm/dsc: fix DP_DSC_MAX_BPP_DELTA_* macro values
The macro values just don't match the specs. Fix them. Fixes: 1482ec0 ("drm: Add missing DP DSC extended capability definitions.") Cc: Vinod Govindapillai <[email protected]> Cc: Stanislav Lisovskiy <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Reviewed-by: Ankit Nautiyal <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 1352564 commit 0d68683

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/drm/display/drm_dp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,8 @@
286286

287287
#define DP_DSC_MAX_BITS_PER_PIXEL_HI 0x068 /* eDP 1.4 */
288288
# define DP_DSC_MAX_BITS_PER_PIXEL_HI_MASK (0x3 << 0)
289-
# define DP_DSC_MAX_BPP_DELTA_VERSION_MASK 0x06
290-
# define DP_DSC_MAX_BPP_DELTA_AVAILABILITY 0x08
289+
# define DP_DSC_MAX_BPP_DELTA_VERSION_MASK (0x3 << 5) /* eDP 1.5 & DP 2.0 */
290+
# define DP_DSC_MAX_BPP_DELTA_AVAILABILITY (1 << 7) /* eDP 1.5 & DP 2.0 */
291291

292292
#define DP_DSC_DEC_COLOR_FORMAT_CAP 0x069
293293
# define DP_DSC_RGB (1 << 0)

0 commit comments

Comments
 (0)