[igt-dev] [PATCH i-g-t 3/4] lib/igt_gt: Add compute engine
priyanka.dandamudi at intel.com
priyanka.dandamudi at intel.com
Thu Oct 21 04:35:07 UTC 2021
From: Vinay Belgaumkar <vinay.belgaumkar at intel.com>
Add compute (CCS) engine. Add this to the IGT
structure to allow gem tests to execute.
Signed-off-by: Stuart Summers <stuart.summers at intel.com>
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar 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/igt_gt.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/igt_gt.c b/lib/igt_gt.c
index a0ba04cc..80fb65ca 100644
--- a/lib/igt_gt.c
+++ b/lib/igt_gt.c
@@ -604,6 +604,10 @@ const struct intel_execution_engine2 intel_execution_engines2[] = {
{ "vcs1", I915_ENGINE_CLASS_VIDEO, 1, I915_EXEC_BSD | I915_EXEC_BSD_RING2 },
{ "vcs2", I915_ENGINE_CLASS_VIDEO, 2, -1 },
{ "vecs0", I915_ENGINE_CLASS_VIDEO_ENHANCE, 0, I915_EXEC_VEBOX },
+ { "ccs0", I915_ENGINE_CLASS_COMPUTE, 0 , -1},
+ { "ccs1", I915_ENGINE_CLASS_COMPUTE, 1 , -1},
+ { "ccs2", I915_ENGINE_CLASS_COMPUTE, 2 , -1},
+ { "ccs3", I915_ENGINE_CLASS_COMPUTE, 3 , -1},
{ }
};
--
2.25.1
More information about the igt-dev
mailing list