igt_reset.h (356B)
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 12struct intel_gt; 13 14void igt_global_reset_lock(struct intel_gt *gt); 15void igt_global_reset_unlock(struct intel_gt *gt); 16bool igt_force_reset(struct intel_gt *gt); 17 18#endif