summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_drm_client.c
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2022-04-28 07:19:25 +0300
committerMatt Roper <matthew.d.roper@intel.com>2022-04-30 00:30:27 +0300
commitecf8eca51f33dbfddcc23902bdee65c17587247c (patch)
tree62f54bb7678bc6bdc3b74c82925874b9aa3a280b /drivers/gpu/drm/i915/i915_drm_client.c
parent97e17a09063074a2534e8c2f4873588a9aaa48b3 (diff)
downloadlinux-ecf8eca51f33dbfddcc23902bdee65c17587247c.tar.xz
drm/i915/xehp: Add compute engine ABI
We're now ready to start exposing compute engines to userspace. v2: - Move kerneldoc for other engine classes to a separate patch. (Andi) Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Cc: Vinay Belgaumkar <vinay.belgaumkar@intel.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Szymon Morek <szymon.morek@intel.com> UMD (mesa): https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14395 Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Acked-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Tested-by: Jordan Justen <jordan.l.justen@intel.com> # mesa anvil & iris Link: https://patchwork.freedesktop.org/patch/msgid/20220428041926.1483683-4-matthew.d.roper@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drm_client.c')
-rw-r--r--drivers/gpu/drm/i915/i915_drm_client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drm_client.c b/drivers/gpu/drm/i915/i915_drm_client.c
index 475a6f824cad..18d38cb59923 100644
--- a/drivers/gpu/drm/i915/i915_drm_client.c
+++ b/drivers/gpu/drm/i915/i915_drm_client.c
@@ -81,6 +81,7 @@ static const char * const uabi_class_names[] = {
[I915_ENGINE_CLASS_COPY] = "copy",
[I915_ENGINE_CLASS_VIDEO] = "video",
[I915_ENGINE_CLASS_VIDEO_ENHANCE] = "video-enhance",
+ [I915_ENGINE_CLASS_COMPUTE] = "compute",
};
static u64 busy_add(struct i915_gem_context *ctx, unsigned int class)