xref: /linux/drivers/gpu/drm/i915/display/intel_panic.h (revision 07fdad3a93756b872da7b53647715c48d0f4a2d0)
1 /* SPDX-License-Identifier: MIT */
2 /* Copyright © 2025 Intel Corporation */
3 
4 #ifndef __INTEL_PANIC_H__
5 #define __INTEL_PANIC_H__
6 
7 struct drm_scanout_buffer;
8 struct intel_panic;
9 
10 struct intel_panic *intel_panic_alloc(void);
11 int intel_panic_setup(struct intel_panic *panic, struct drm_scanout_buffer *sb);
12 void intel_panic_finish(struct intel_panic *panic);
13 
14 #endif /* __INTEL_PANIC_H__ */
15