treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / gpu / drm / i915 / selftests / igt_reset.h
blob851873b67ab3d297e71841fdd9e40fc4f3339b91
1 /*
2 * SPDX-License-Identifier: MIT
4 * Copyright © 2018 Intel Corporation
5 */
7 #ifndef __I915_SELFTESTS_IGT_RESET_H__
8 #define __I915_SELFTESTS_IGT_RESET_H__
10 #include <linux/types.h>
12 struct intel_gt;
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);
18 #endif