xref: /linux/drivers/gpu/drm/i915/selftests/igt_reset.h (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
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