1 /*
2  * SPDX-License-Identifier: MIT
3  *
4  * Copyright © 2019 Intel Corporation
5  */
6 
7 #ifndef INTEL_ENGINE_USER_H
8 #define INTEL_ENGINE_USER_H
9 
10 #include <linux/types.h>
11 
12 struct drm_i915_private;
13 struct intel_engine_cs;
14 
15 struct intel_engine_cs *
16 intel_engine_lookup_user(struct drm_i915_private *i915, u8 class, u8 instance);
17 
18 unsigned int intel_engines_has_context_isolation(struct drm_i915_private *i915);
19 
20 void intel_engine_add_user(struct intel_engine_cs *engine);
21 void intel_engines_driver_register(struct drm_i915_private *i915);
22 
23 const char *intel_engine_class_repr(u8 class);
24 
25 #endif /* INTEL_ENGINE_USER_H */
26