mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-26 09:00:37 +02:00
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:
parent
9ff471fdc6
commit
c14857e915
2 changed files with 2 additions and 6 deletions
|
|
@ -94,6 +94,8 @@
|
|||
#include <stdio.h>
|
||||
#include <pthread.h>
|
||||
|
||||
#define INTEL_AUX_MAP_FORMAT_BITS_MASK 0xfff0000000000000ull
|
||||
|
||||
static const bool aux_map_debug = false;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue