intel/common: clean up AUX macros
The hardcoded is either replaced with new interfaces or relocated to C file if it is private. Signed-off-by: Jianxun Zhang <jianxun.zhang@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20259>
This commit is contained in:
@@ -43,13 +43,7 @@ extern "C" {
|
||||
struct intel_aux_map_context;
|
||||
struct intel_device_info;
|
||||
|
||||
#define INTEL_AUX_MAP_ADDRESS_MASK 0x0000ffffffffff00ull
|
||||
#define INTEL_AUX_MAP_FORMAT_BITS_MASK 0xfff0000000000000ull
|
||||
#define INTEL_AUX_MAP_ENTRY_VALID_BIT 0x1ull
|
||||
#define INTEL_AUX_MAP_GFX12_CCS_SCALE 256
|
||||
#define INTEL_AUX_MAP_MAIN_PAGE_SIZE (64 * 1024)
|
||||
#define INTEL_AUX_MAP_AUX_PAGE_SIZE \
|
||||
(INTEL_AUX_MAP_MAIN_PAGE_SIZE / INTEL_AUX_MAP_GFX12_CCS_SCALE)
|
||||
|
||||
struct intel_aux_map_context *
|
||||
intel_aux_map_init(void *driver_ctx,
|
||||
|
Reference in New Issue
Block a user