linux/drivers/gpu/drm/i915/gt/intel_engine_user.c

// SPDX-License-Identifier: MIT
/*
 * Copyright © 2019 Intel Corporation
 */

#include <linux/list.h>
#include <linux/list_sort.h>
#include <linux/llist.h>

#include "i915_drv.h"
#include "intel_engine.h"
#include "intel_engine_user.h"
#include "intel_gt.h"
#include "uc/intel_guc_submission.h"

struct intel_engine_cs *
intel_engine_lookup_user(struct drm_i915_private *i915, u8 class, u8 instance)
{}

void intel_engine_add_user(struct intel_engine_cs *engine)
{}

#define I915_NO_UABI_CLASS

static const u16 uabi_classes[] =;

static int engine_cmp(void *priv, const struct list_head *A,
		      const struct list_head *B)
{}

static struct llist_node *get_engines(struct drm_i915_private *i915)
{}

static void sort_engines(struct drm_i915_private *i915,
			 struct list_head *engines)
{}

static void set_scheduler_caps(struct drm_i915_private *i915)
{}

const char *intel_engine_class_repr(u8 class)
{}

struct legacy_ring {};

static int legacy_ring_idx(const struct legacy_ring *ring)
{}

static void add_legacy_ring(struct legacy_ring *ring,
			    struct intel_engine_cs *engine)
{}

static void engine_rename(struct intel_engine_cs *engine, const char *name, u16 instance)
{}

void intel_engines_driver_register(struct drm_i915_private *i915)
{}

unsigned int intel_engines_has_context_isolation(struct drm_i915_private *i915)
{}