2023-04-14 12:41:59 +03:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
/*
|
|
|
|
* Copyright © 2023 Intel Corporation
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __INTEL_RESET_H__
|
|
|
|
#define __INTEL_RESET_H__
|
|
|
|
|
2025-03-03 13:27:06 +02:00
|
|
|
#include <linux/types.h>
|
|
|
|
|
2025-03-03 13:27:03 +02:00
|
|
|
struct intel_display;
|
2023-04-14 12:41:59 +03:00
|
|
|
|
2025-03-03 13:27:10 +02:00
|
|
|
typedef void modeset_stuck_fn(void *context);
|
|
|
|
|
2025-03-03 13:27:06 +02:00
|
|
|
bool intel_display_reset_test(struct intel_display *display);
|
2025-03-03 13:27:10 +02:00
|
|
|
bool intel_display_reset_prepare(struct intel_display *display,
|
|
|
|
modeset_stuck_fn modeset_stuck, void *context);
|
2025-03-03 13:27:09 +02:00
|
|
|
void intel_display_reset_finish(struct intel_display *display, bool test_only);
|
2023-04-14 12:41:59 +03:00
|
|
|
|
|
|
|
#endif /* __INTEL_RESET_H__ */
|