GNU Linux-libre 5.10.215-gnu1
[releases.git] / drivers / gpu / drm / i915 / selftests / igt_reset.h
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