Module: Mesa
Branch: main
Commit: 05b3967ddc9c56c186156e6a011daad0efd115e4
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=05b3967ddc9c56c186156e6a011daad0efd115e4

Author: José Roberto de Souza <jose.so...@intel.com>
Date:   Wed Sep 20 12:03:27 2023 -0700

intel: Enable has_set_pat_uapi for Xe

Xe KMD requires that all platforms supported by it set PAT information.
This will be implemented in Iris and ANV in the next patches.

Signed-off-by: José Roberto de Souza <jose.so...@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25462>

---

 src/intel/dev/xe/intel_device_info.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/intel/dev/xe/intel_device_info.c 
b/src/intel/dev/xe/intel_device_info.c
index 90feca0393b..d740dccad81 100644
--- a/src/intel/dev/xe/intel_device_info.c
+++ b/src/intel/dev/xe/intel_device_info.c
@@ -322,6 +322,7 @@ intel_device_info_xe_get_info_from_fd(int fd, struct 
intel_device_info *devinfo)
    devinfo->has_context_isolation = true;
    devinfo->has_mmap_offset = true;
    devinfo->has_caching_uapi = false;
+   devinfo->has_set_pat_uapi = true;
 
    return true;
 }

Reply via email to