This field doesn't alias with BANK_XOR_BITS: PACKERS is bits 27:29 while BANK_XOR_BITS is bits 24:26.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -1215,7 +1215,7 @@ drm_fourcc_canonicalize_nvidia_format_mod(__u64 modifier) · 1214 unmodified lines | |||
| 1215 | #define AMD_FMT_MOD_PIPE_XOR_BITS_MASK 0x7 | 1215 | #define AMD_FMT_MOD_PIPE_XOR_BITS_MASK 0x7 |
| 1216 | #define AMD_FMT_MOD_BANK_XOR_BITS_SHIFT 24 | 1216 | #define AMD_FMT_MOD_BANK_XOR_BITS_SHIFT 24 |
| 1217 | #define AMD_FMT_MOD_BANK_XOR_BITS_MASK 0x7 | 1217 | #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 |
| 1219 | #define AMD_FMT_MOD_PACKERS_MASK 0x7 | 1219 | #define AMD_FMT_MOD_PACKERS_MASK 0x7 |
| 1220 | #define AMD_FMT_MOD_RB_SHIFT 30 | 1220 | #define AMD_FMT_MOD_RB_SHIFT 30 |
| 1221 | #define AMD_FMT_MOD_RB_MASK 0x7 | 1221 | #define AMD_FMT_MOD_RB_MASK 0x7 |