| 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 | typedef void modeset_stuck_fn(void *context); |
| 14 | |
| 15 | bool intel_display_reset_test(struct intel_display *display); |
| 16 | bool intel_display_reset_prepare(struct intel_display *display, |
| 17 | modeset_stuck_fn modeset_stuck, void *context); |
| 18 | void intel_display_reset_finish(struct intel_display *display, bool test_only); |
| 19 | |
| 20 | #endif /* __INTEL_RESET_H__ */ |
| 21 |
