1dc6d6158SJani Nikula /* SPDX-License-Identifier: MIT */
2dc6d6158SJani Nikula /*
3dc6d6158SJani Nikula  * Copyright © 2021 Intel Corporation
4dc6d6158SJani Nikula  */
5dc6d6158SJani Nikula 
6dc6d6158SJani Nikula #ifndef __INTEL_DPT_H__
7dc6d6158SJani Nikula #define __INTEL_DPT_H__
8dc6d6158SJani Nikula 
99755f055SImre Deak struct drm_i915_private;
109755f055SImre Deak 
11dc6d6158SJani Nikula struct i915_address_space;
12dc6d6158SJani Nikula struct i915_vma;
13*c5de2484SVille Syrjälä struct intel_crtc;
14dc6d6158SJani Nikula struct intel_framebuffer;
15dc6d6158SJani Nikula 
16dc6d6158SJani Nikula void intel_dpt_destroy(struct i915_address_space *vm);
17dc6d6158SJani Nikula struct i915_vma *intel_dpt_pin(struct i915_address_space *vm);
18dc6d6158SJani Nikula void intel_dpt_unpin(struct i915_address_space *vm);
199755f055SImre Deak void intel_dpt_suspend(struct drm_i915_private *i915);
209755f055SImre Deak void intel_dpt_resume(struct drm_i915_private *i915);
21dc6d6158SJani Nikula struct i915_address_space *
22dc6d6158SJani Nikula intel_dpt_create(struct intel_framebuffer *fb);
23*c5de2484SVille Syrjälä void intel_dpt_configure(struct intel_crtc *crtc);
24dc6d6158SJani Nikula 
25dc6d6158SJani Nikula #endif /* __INTEL_DPT_H__ */
26