mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
intel/devinfo/i915: Set has_set_pat_uapi for MTL+
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> 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:
parent
463bf13411
commit
7f0ed719aa
1 changed files with 2 additions and 0 deletions
|
|
@ -597,6 +597,8 @@ bool intel_device_info_i915_get_info_from_fd(int fd, struct intel_device_info *d
|
|||
devinfo->has_tiling_uapi = has_get_tiling(fd);
|
||||
devinfo->has_caching_uapi =
|
||||
devinfo->platform < INTEL_PLATFORM_DG2_START && !devinfo->has_local_mem;
|
||||
if (devinfo->ver > 12 || intel_device_info_is_mtl(devinfo))
|
||||
devinfo->has_set_pat_uapi = true;
|
||||
|
||||
if (getparam(fd, I915_PARAM_MMAP_GTT_VERSION, &val))
|
||||
devinfo->has_mmap_offset = val >= 4;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue