xref: /linux/drivers/gpu/drm/i915/display/intel_display_reset.h (revision c06b6cde2a1c3bcbb561bd57bb6f34eae9030921)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2023 Intel Corporation
4  */
5 
6 #ifndef __INTEL_RESET_H__
7 #define __INTEL_RESET_H__
8 
9 #include <linux/types.h>
10 
11 struct intel_display;
12 
13 bool intel_display_reset_supported(struct intel_display *display);
14 bool intel_display_reset_test(struct intel_display *display);
15 void intel_display_reset_prepare(struct intel_display *display);
16 void intel_display_reset_finish(struct intel_display *display, bool test_only);
17 
18 void intel_display_reset_debugfs_register(struct intel_display *display);
19 
20 #endif /* __INTEL_RESET_H__ */
21