intel/tools: add macros for gfx12+ variant of VCSUNIT0

Not used for now.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16664>
This commit is contained in:
Marcin Ślusarz 2022-05-19 17:10:58 +02:00 committed by Marge Bot
parent ba80c36708
commit 8187716b55

View file

@ -49,6 +49,9 @@
#define VCSUNIT0_START 0x12000
#define VCSUNIT0_END 0x13fff
#define GFX12_VCSUNIT0_START 0x1c0000
#define GFX12_VCSUNIT0_END 0x1c07ff
#define BCSUNIT0_START 0x22000
#define BCSUNIT0_END 0x23fff
@ -61,6 +64,7 @@
#define RCSUNIT(reg) (RCSUNIT_START + reg)
#define VCSUNIT0(reg) (VCSUNIT0_START + reg)
#define GFX12_VCSUNIT0(reg) (GFX12_VCSUNIT0_START + reg)
#define BCSUNIT0(reg) (BCSUNIT0_START + reg)
#define MEMORY_MAP_SIZE (64 /* MiB */ * 1024 * 1024)