Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / gpu / drm / i915 / gt / intel_engine_user.h
blobf845ea1cbfaacba3035bc9fe53506c3ab315de7f
1 /*
2 * SPDX-License-Identifier: MIT
4 * Copyright © 2019 Intel Corporation
5 */
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 */