mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 22:37:01 +07:00
cb823ed991
Having taken the first step in encapsulating the functionality by moving the related files under gt/, the next step is to start encapsulating by passing around the relevant structs rather than the global drm_i915_private. In this step, we pass intel_gt to intel_reset.c Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190712192953.9187-1-chris@chris-wilson.co.uk
19 lines
356 B
C
19 lines
356 B
C
/*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
* Copyright © 2018 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __I915_SELFTESTS_IGT_RESET_H__
|
|
#define __I915_SELFTESTS_IGT_RESET_H__
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct intel_gt;
|
|
|
|
void igt_global_reset_lock(struct intel_gt *gt);
|
|
void igt_global_reset_unlock(struct intel_gt *gt);
|
|
bool igt_force_reset(struct intel_gt *gt);
|
|
|
|
#endif
|