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

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

#include <linux/random.h>

#include "gem/i915_gem_internal.h"
#include "gem/i915_gem_pm.h"
#include "gem/selftests/igt_gem_utils.h"
#include "gem/selftests/mock_context.h"
#include "gt/intel_gt.h"
#include "gt/intel_gt_pm.h"

#include "i915_selftest.h"

#include "igt_flush_test.h"
#include "mock_drm.h"

static int switch_to_context(struct i915_gem_context *ctx)
{}

static void trash_stolen(struct drm_i915_private *i915)
{}

static void simulate_hibernate(struct drm_i915_private *i915)
{}

static int igt_pm_prepare(struct drm_i915_private *i915)
{}

static void igt_pm_suspend(struct drm_i915_private *i915)
{}

static void igt_pm_hibernate(struct drm_i915_private *i915)
{}

static void igt_pm_resume(struct drm_i915_private *i915)
{}

static int igt_gem_suspend(void *arg)
{}

static int igt_gem_hibernate(void *arg)
{}

static int igt_gem_ww_ctx(void *arg)
{}

int i915_gem_live_selftests(struct drm_i915_private *i915)
{}