1 /* $NetBSD: igt_reset.h,v 1.2 2021/12/18 23:45:31 riastradh Exp $ */ 2 3 /* 4 * SPDX-License-Identifier: MIT 5 * 6 * Copyright © 2018 Intel Corporation 7 */ 8 9 #ifndef __I915_SELFTESTS_IGT_RESET_H__ 10 #define __I915_SELFTESTS_IGT_RESET_H__ 11 12 #include <linux/types.h> 13 14 struct intel_gt; 15 16 void igt_global_reset_lock(struct intel_gt *gt); 17 void igt_global_reset_unlock(struct intel_gt *gt); 18 bool igt_force_reset(struct intel_gt *gt); 19 20 #endif 21