diff options
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r-- | src/intel/vulkan/anv_private.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index b6bb2019bb3..26ce4aa6ddf 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -1506,6 +1506,11 @@ _anv_combine_address(struct anv_batch *batch, void *location, #define GEN11_MOCS GEN9_MOCS #define GEN11_EXTERNAL_MOCS GEN9_EXTERNAL_MOCS +/* TigerLake MOCS */ +#define GEN12_MOCS GEN9_MOCS +/* TC=1/LLC Only, LeCC=1/Uncacheable, LRUM=0, L3CC=1/Uncacheable */ +#define GEN12_EXTERNAL_MOCS (3 << 1) + struct anv_device_memory { struct list_head link; @@ -3809,6 +3814,9 @@ ANV_DEFINE_NONDISP_HANDLE_CASTS(anv_ycbcr_conversion, VkSamplerYcbcrConversion) # define genX(x) gen11_##x # include "anv_genX.h" # undef genX +# define genX(x) gen12_##x +# include "anv_genX.h" +# undef genX #endif #endif /* ANV_PRIVATE_H */ |