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

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

#include <linux/jiffies.h>

//#include "gt/intel_engine_user.h"
#include "gt/intel_gt.h"
#include "i915_drv.h"
#include "i915_selftest.h"

#include "selftests/intel_scheduler_helpers.h"

#define REDUCED_TIMESLICE
#define REDUCED_PREEMPT
#define WAIT_FOR_RESET_TIME_MS

struct intel_engine_cs *intel_selftest_find_any_engine(struct intel_gt *gt)
{}

int intel_selftest_modify_policy(struct intel_engine_cs *engine,
				 struct intel_selftest_saved_policy *saved,
				 enum selftest_scheduler_modify modify_type)
{}

int intel_selftest_restore_policy(struct intel_engine_cs *engine,
				  struct intel_selftest_saved_policy *saved)
{}

int intel_selftest_wait_for_rq(struct i915_request *rq)
{}