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