linux/drivers/gpu/drm/i915/selftests/i915_active.c

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

#include <linux/kref.h>
#include <linux/string_helpers.h>

#include "gem/i915_gem_pm.h"
#include "gt/intel_gt.h"

#include "i915_selftest.h"

#include "igt_flush_test.h"
#include "lib_sw_fence.h"

struct live_active {};

static void __live_get(struct live_active *active)
{}

static void __live_free(struct live_active *active)
{}

static void __live_release(struct kref *ref)
{}

static void __live_put(struct live_active *active)
{}

static int __live_active(struct i915_active *base)
{}

static void __live_retire(struct i915_active *base)
{}

static struct live_active *__live_alloc(struct drm_i915_private *i915)
{}

static struct live_active *
__live_active_setup(struct drm_i915_private *i915)
{}

static int live_active_wait(void *arg)
{}

static int live_active_retire(void *arg)
{}

static int live_active_barrier(void *arg)
{}

int i915_active_live_selftests(struct drm_i915_private *i915)
{}

static struct intel_engine_cs *node_to_barrier(struct active_node *it)
{}

void i915_active_print(struct i915_active *ref, struct drm_printer *m)
{}

static void spin_unlock_wait(spinlock_t *lock)
{}

static void active_flush(struct i915_active *ref,
			 struct i915_active_fence *active)
{}

void i915_active_unlock_wait(struct i915_active *ref)
{}