History

drm/fourcc: fix AMD modifiers PACKERS field doc

This field doesn't alias with BANK_XOR_BITS: PACKERS is bits 27:29 while BANK_XOR_BITS is bits 24:26.

Simon Ser committed 6 years ago

Commit 09bec071 parent c6ce6d11 file · +1 −1Browse files

Showing the changes to include/uapi/drm (1 of 1 file). Show all

Unified · Split

include/uapi/drm/drm_fourcc.h+1−1
@@ -1215,7 +1215,7 @@ drm_fourcc_canonicalize_nvidia_format_mod(__u64 modifier) · 1214 unmodified lines
12151215 #define AMD_FMT_MOD_PIPE_XOR_BITS_MASK 0x7
12161216 #define AMD_FMT_MOD_BANK_XOR_BITS_SHIFT 24
12171217 #define AMD_FMT_MOD_BANK_XOR_BITS_MASK 0x7
1218−#define AMD_FMT_MOD_PACKERS_SHIFT 27 /* aliases with BANK_XOR_BITS */
1218+#define AMD_FMT_MOD_PACKERS_SHIFT 27
12191219 #define AMD_FMT_MOD_PACKERS_MASK 0x7
12201220 #define AMD_FMT_MOD_RB_SHIFT 30
12211221 #define AMD_FMT_MOD_RB_MASK 0x7