#include <linux/kref.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"
#define TEST_OA_CONFIG_UUID …
static int
alloc_empty_config(struct i915_perf *perf)
{ … }
static void
destroy_empty_config(struct i915_perf *perf)
{ … }
static struct i915_oa_config *
get_empty_config(struct i915_perf *perf)
{ … }
static struct i915_perf_stream *
test_stream(struct i915_perf *perf)
{ … }
static void stream_destroy(struct i915_perf_stream *stream)
{ … }
static int live_sanitycheck(void *arg)
{ … }
static int write_timestamp(struct i915_request *rq, int slot)
{ … }
static ktime_t poll_status(struct i915_request *rq, int slot)
{ … }
static int live_noa_delay(void *arg)
{ … }
static int live_noa_gpr(void *arg)
{ … }
int i915_perf_live_selftests(struct drm_i915_private *i915)
{ … }