xref: /linux/drivers/gpu/drm/i915/selftests/igt_reset.h (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
1 /*
2  * SPDX-License-Identifier: MIT
3  *
4  * Copyright © 2018 Intel Corporation
5  */
6 
7 #ifndef __I915_SELFTESTS_IGT_RESET_H__
8 #define __I915_SELFTESTS_IGT_RESET_H__
9 
10 #include <linux/types.h>
11 
12 struct intel_gt;
13 
14 void igt_global_reset_lock(struct intel_gt *gt);
15 void igt_global_reset_unlock(struct intel_gt *gt);
16 bool igt_force_reset(struct intel_gt *gt);
17 
18 #endif
19