1/* SPDX-License-Identifier: MIT */
2/*
3 * Copyright © 2021 Intel Corporation
4 */
5
6#ifndef __INTEL_DPT_H__
7#define __INTEL_DPT_H__
8
9#include <linux/types.h>
10
11struct i915_address_space;
12struct i915_vma;
13struct intel_display;
14struct intel_framebuffer;
15
16void intel_dpt_destroy(struct i915_address_space *vm);
17struct i915_vma *intel_dpt_pin_to_ggtt(struct i915_address_space *vm,
18 unsigned int alignment);
19void intel_dpt_unpin_from_ggtt(struct i915_address_space *vm);
20void intel_dpt_suspend(struct intel_display *display);
21void intel_dpt_resume(struct intel_display *display);
22struct i915_address_space *
23intel_dpt_create(struct intel_framebuffer *fb);
24u64 intel_dpt_offset(struct i915_vma *dpt_vma);
25
26#endif /* __INTEL_DPT_H__ */
27