mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 04:40:11 +01:00
anv/device: Check for kernel support of context isolation.
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
parent
056214ebfc
commit
be18d5a0ce
2 changed files with 4 additions and 0 deletions
|
|
@ -377,6 +377,9 @@ anv_physical_device_init(struct anv_physical_device *device,
|
|||
device->use_softpin = anv_gem_get_param(fd, I915_PARAM_HAS_EXEC_SOFTPIN)
|
||||
&& device->supports_48bit_addresses;
|
||||
|
||||
device->has_context_isolation =
|
||||
anv_gem_get_param(fd, I915_PARAM_HAS_CONTEXT_ISOLATION);
|
||||
|
||||
bool swizzled = anv_gem_get_bit6_swizzle(fd, I915_TILING_X);
|
||||
|
||||
/* Starting with Gen10, the timestamp frequency of the command streamer may
|
||||
|
|
|
|||
|
|
@ -856,6 +856,7 @@ struct anv_physical_device {
|
|||
bool has_syncobj_wait;
|
||||
bool has_context_priority;
|
||||
bool use_softpin;
|
||||
bool has_context_isolation;
|
||||
|
||||
struct anv_device_extension_table supported_extensions;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue