Home | History | Annotate | Line # | Download | only in gt
      1 /*	$NetBSD: intel_engine_user.h,v 1.2 2021/12/18 23:45:30 riastradh Exp $	*/
      2 
      3 /*
      4  * SPDX-License-Identifier: MIT
      5  *
      6  * Copyright  2019 Intel Corporation
      7  */
      8 
      9 #ifndef INTEL_ENGINE_USER_H
     10 #define INTEL_ENGINE_USER_H
     11 
     12 #include <linux/types.h>
     13 
     14 struct drm_i915_private;
     15 struct intel_engine_cs;
     16 
     17 struct intel_engine_cs *
     18 intel_engine_lookup_user(struct drm_i915_private *i915, u8 class, u8 instance);
     19 
     20 unsigned int intel_engines_has_context_isolation(struct drm_i915_private *i915);
     21 
     22 void intel_engine_add_user(struct intel_engine_cs *engine);
     23 void intel_engines_driver_register(struct drm_i915_private *i915);
     24 
     25 const char *intel_engine_class_repr(u8 class);
     26 
     27 #endif /* INTEL_ENGINE_USER_H */
     28