summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_display_snapshot.h
blob: 7ed27cdea6442c650e998e59a4ecd240a000174e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: MIT */
/* Copyright © 2024 Intel Corporation */

#ifndef __INTEL_DISPLAY_SNAPSHOT_H__
#define __INTEL_DISPLAY_SNAPSHOT_H__

struct drm_printer;
struct intel_display;
struct intel_display_snapshot;

struct intel_display_snapshot *intel_display_snapshot_capture(struct intel_display *display);
void intel_display_snapshot_print(const struct intel_display_snapshot *snapshot,
				  struct drm_printer *p);
void intel_display_snapshot_free(struct intel_display_snapshot *snapshot);

#endif /* __INTEL_DISPLAY_SNAPSHOT_H__ */