xref: /linux/drivers/gpu/drm/i915/display/intel_display_snapshot.h (revision 7f4f3b14e8079ecde096bd734af10e30d40c27b7)
1 /* SPDX-License-Identifier: MIT */
2 /* Copyright © 2024 Intel Corporation */
3 
4 #ifndef __INTEL_DISPLAY_SNAPSHOT_H__
5 #define __INTEL_DISPLAY_SNAPSHOT_H__
6 
7 struct drm_printer;
8 struct intel_display;
9 struct intel_display_snapshot;
10 
11 struct intel_display_snapshot *intel_display_snapshot_capture(struct intel_display *display);
12 void intel_display_snapshot_print(const struct intel_display_snapshot *snapshot,
13 				  struct drm_printer *p);
14 void intel_display_snapshot_free(struct intel_display_snapshot *snapshot);
15 
16 #endif /* __INTEL_DISPLAY_SNAPSHOT_H__ */
17