xref: /linux/drivers/gpu/drm/i915/display/intel_dpt.h (revision 6af91e3d2cfc8bb579b1aa2d22cd91f8c34acdf6)
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 struct drm_i915_private;
10 
11 struct i915_address_space;
12 struct i915_vma;
13 struct intel_framebuffer;
14 
15 void intel_dpt_destroy(struct i915_address_space *vm);
16 struct i915_vma *intel_dpt_pin_to_ggtt(struct i915_address_space *vm,
17 				       unsigned int alignment);
18 void intel_dpt_unpin_from_ggtt(struct i915_address_space *vm);
19 void intel_dpt_suspend(struct drm_i915_private *i915);
20 void intel_dpt_resume(struct drm_i915_private *i915);
21 struct i915_address_space *
22 intel_dpt_create(struct intel_framebuffer *fb);
23 
24 #endif /* __INTEL_DPT_H__ */
25