intel: Add has_context_isolation to intel_device_info
Iris, hasvk and anv were fetching the same information, better do it on one place. Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19425>
This commit is contained in:
committed by
Marge Bot
parent
d5d1331381
commit
29550bc50a
@@ -2008,6 +2008,8 @@ intel_i915_get_device_info_from_fd(int fd, struct intel_device_info *devinfo)
|
||||
devinfo->has_mmap_offset = val >= 4;
|
||||
if (getparam(fd, I915_PARAM_HAS_USERPTR_PROBE, &val))
|
||||
devinfo->has_userptr_probe = val;
|
||||
if (getparam(fd, I915_PARAM_HAS_CONTEXT_ISOLATION, &val))
|
||||
devinfo->has_context_isolation = val;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -148,6 +148,7 @@ struct intel_device_info
|
||||
bool has_mesh_shading;
|
||||
bool has_mmap_offset;
|
||||
bool has_userptr_probe;
|
||||
bool has_context_isolation;
|
||||
|
||||
/**
|
||||
* \name Intel hardware quirks
|
||||
|
||||
Reference in New Issue
Block a user