amdgpu: Add some resource bits for Neo mode. (#2035)

This commit is contained in:
squidbus 2025-01-03 12:25:20 -08:00 committed by GitHub
parent 9434cae458
commit c2be12f009
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 2 deletions

View file

@ -814,7 +814,9 @@ struct Liverpool {
BitField<26, 1, u32> fmask_compression_disable_ci; BitField<26, 1, u32> fmask_compression_disable_ci;
BitField<27, 1, u32> fmask_compress_1frag_only; BitField<27, 1, u32> fmask_compress_1frag_only;
BitField<28, 1, u32> dcc_enable; BitField<28, 1, u32> dcc_enable;
BitField<29, 1, u32> cmask_addr_type; BitField<29, 2, u32> cmask_addr_type;
/// Neo-mode only
BitField<31, 1, u32> alt_tile_mode;
u32 u32all; u32 u32all;
} info; } info;

View file

@ -263,7 +263,15 @@ struct Image {
u64 min_lod_warn : 12; u64 min_lod_warn : 12;
u64 counter_bank_id : 8; u64 counter_bank_id : 8;
u64 lod_hw_cnt_en : 1; u64 lod_hw_cnt_en : 1;
u64 : 43; /// Neo-mode only
u64 compression_en : 1;
/// Neo-mode only
u64 alpha_is_on_msb : 1;
/// Neo-mode only
u64 color_transform : 1;
/// Neo-mode only
u64 alt_tile_mode : 1;
u64 : 39;
static constexpr Image Null() { static constexpr Image Null() {
Image image{}; Image image{};