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