[igt-dev] [PATCH i-g-t v2 1/3] lib/i915/i915_drm_local: Add COMPUTE class engine

priyanka.dandamudi at intel.com priyanka.dandamudi at intel.com
Fri Oct 22 06:12:43 UTC 2021


From: Priyanka Dandamudi <priyanka.dandamudi at intel.com>

Add I915_ENGINE_CLASS_COMPUTE define value.

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/i915_drm_local.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/i915/i915_drm_local.h b/lib/i915/i915_drm_local.h
index a6afdd28..74b85c85 100644
--- a/lib/i915/i915_drm_local.h
+++ b/lib/i915/i915_drm_local.h
@@ -19,6 +19,7 @@ extern "C" {
  * or local_ prefix and without any #ifndef's. Attempt should be made to
  * clean these up when kernel uapi headers are sync'd.
  */
+#define I915_ENGINE_CLASS_COMPUTE 4
 
 /* Needed for PXP */
 #define I915_GEM_CREATE_EXT_PROTECTED_CONTENT  1
-- 
2.25.1



More information about the igt-dev mailing list