xref: /linux/drivers/gpu/drm/i915/display/intel_dpt.h (revision 34dc1baba215b826e454b8d19e4f24adbeb7d00d)
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_crtc;
14 struct intel_framebuffer;
15 
16 void intel_dpt_destroy(struct i915_address_space *vm);
17 struct i915_vma *intel_dpt_pin(struct i915_address_space *vm);
18 void intel_dpt_unpin(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 void intel_dpt_configure(struct intel_crtc *crtc);
24 
25 #endif /* __INTEL_DPT_H__ */
26