intel/devinfo: Define PAT indices used on MTL

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22878>
This commit is contained in:
Jordan Justen 2023-05-04 02:19:06 -04:00 committed by Marge Bot
parent e896b81322
commit b602c14fc5
2 changed files with 12 additions and 1 deletions

View file

@ -1135,7 +1135,12 @@ static const struct intel_device_info intel_device_info_atsm_g11 = {
.has_integer_dword_mul = false, \
.has_coarse_pixel_primitive_and_cb = true, \
.has_mesh_shading = true, \
.has_ray_tracing = true
.has_ray_tracing = true, \
.pat = { \
.coherent = 3, /* 1-way coherent */ \
.scanout = 3, /* 1-way coherent */ \
.writeback = 0, \
}
static const struct intel_device_info intel_device_info_mtl_m = {
MTL_FEATURES,

View file

@ -452,6 +452,12 @@ struct intel_device_info
} sram, vram;
} mem;
struct {
uint8_t coherent;
uint8_t scanout;
uint8_t writeback;
} pat;
BITSET_DECLARE(workarounds, INTEL_WA_NUM);
/** @} */
};