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
11struct drm_i915_private;
12struct intel_engine_cs;
13
14struct intel_engine_cs *
15intel_engine_lookup_user(struct drm_i915_private *i915, u8 class, u8 instance);
16
17unsigned int intel_engines_has_context_isolation(struct drm_i915_private *i915);
18
19void intel_engine_add_user(struct intel_engine_cs *engine);
20void intel_engines_driver_register(struct drm_i915_private *i915);
21
22const char *intel_engine_class_repr(u8 class);
23
24#endif /* INTEL_ENGINE_USER_H */
25