[igt-dev] [PATCH i-g-t 1/4] i915/gem_engine_topology: Add compute class

priyanka.dandamudi at intel.com priyanka.dandamudi at intel.com
Thu Oct 21 04:35:05 UTC 2021


From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Add compute class to engine base names.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
Cc: Ashutosh Dixit <ashutosh.dixit at intel.com>
Cc: Arjun Melkaveri <arjun.melkaveri at intel.com>
---
 lib/i915/gem_engine_topology.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/i915/gem_engine_topology.c b/lib/i915/gem_engine_topology.c
index 4e497a5c..729f42b0 100644
--- a/lib/i915/gem_engine_topology.c
+++ b/lib/i915/gem_engine_topology.c
@@ -130,6 +130,7 @@ static const char *class_names[] = {
 	[I915_ENGINE_CLASS_COPY]	  = "bcs",
 	[I915_ENGINE_CLASS_VIDEO]	  = "vcs",
 	[I915_ENGINE_CLASS_VIDEO_ENHANCE] = "vecs",
+	[I915_ENGINE_CLASS_COMPUTE]       = "ccs",
 };
 
 static void init_engine(struct intel_execution_engine2 *e2,
-- 
2.25.1



More information about the igt-dev mailing list