drm/i915: Supply the engine-id for our mock_engine()
[muen/linux.git] / drivers / gpu / drm / i915 / selftests / mock_engine.h
index e5e2402..133d0c2 100644 (file)
@@ -40,7 +40,8 @@ struct mock_engine {
 };
 
 struct intel_engine_cs *mock_engine(struct drm_i915_private *i915,
-                                   const char *name);
+                                   const char *name,
+                                   int id);
 void mock_engine_flush(struct intel_engine_cs *engine);
 void mock_engine_reset(struct intel_engine_cs *engine);
 void mock_engine_free(struct intel_engine_cs *engine);