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