diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/drm/i915_drm.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/uapi/drm/i915_drm.h b/include/uapi/drm/i915_drm.h index ed12c0ccb4b6..88ba5934b793 100644 --- a/include/uapi/drm/i915_drm.h +++ b/include/uapi/drm/i915_drm.h @@ -1018,6 +1018,12 @@ struct drm_i915_gem_execbuffer2 { #define I915_EXEC_INSTANCE_MASK (0xff << I915_EXEC_INSTANCE_SHIFT) /* + * Batches sent with instance set to any can be load balanced by the driver + * is concurrent context flag is also enabled. + */ +#define I915_EXEC_INSTANCE_ANY (0xff) + +/* * Inform the kernel of what engine capabilities this batch buffer * requires. For example only the first VCS engine has the HEVC block. * @@ -1439,6 +1445,7 @@ struct drm_i915_gem_context_param { #define I915_CONTEXT_PARAM_GTT_SIZE 0x3 #define I915_CONTEXT_PARAM_NO_ERROR_CAPTURE 0x4 #define I915_CONTEXT_PARAM_BANNABLE 0x5 +#define I915_CONTEXT_PARAM_CONCURRENT 0x6 __u64 value; }; |