mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-17 01:40:36 +01:00
intel/dev: Add devinfo::has_caching_uapi (and disable for dg1 and dg2+)
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/19911>
This commit is contained in:
parent
0213750e6d
commit
ed84f163ff
2 changed files with 3 additions and 0 deletions
|
|
@ -2003,6 +2003,8 @@ intel_i915_get_device_info_from_fd(int fd, struct intel_device_info *devinfo)
|
|||
intel_get_aperture_size(fd, &devinfo->aperture_bytes);
|
||||
get_context_param(fd, 0, I915_CONTEXT_PARAM_GTT_SIZE, &devinfo->gtt_size);
|
||||
devinfo->has_tiling_uapi = has_get_tiling(fd);
|
||||
devinfo->has_caching_uapi =
|
||||
devinfo->platform < INTEL_PLATFORM_DG2_START && !devinfo->has_local_mem;
|
||||
|
||||
if (getparam(fd, I915_PARAM_MMAP_GTT_VERSION, &val))
|
||||
devinfo->has_mmap_offset = val >= 4;
|
||||
|
|
|
|||
|
|
@ -140,6 +140,7 @@ struct intel_device_info
|
|||
*/
|
||||
bool has_flat_ccs;
|
||||
bool has_aux_map;
|
||||
bool has_caching_uapi;
|
||||
bool has_tiling_uapi;
|
||||
bool has_ray_tracing;
|
||||
bool has_ray_query;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue