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 11 struct i915_address_space; 12 struct i915_vma; 13 struct intel_display; 14 struct intel_framebuffer; 15 16 void intel_dpt_destroy(struct i915_address_space *vm); 17 struct i915_vma *intel_dpt_pin_to_ggtt(struct i915_address_space *vm, 18 unsigned int alignment); 19 void intel_dpt_unpin_from_ggtt(struct i915_address_space *vm); 20 void intel_dpt_suspend(struct intel_display *display); 21 void intel_dpt_resume(struct intel_display *display); 22 struct i915_address_space * 23 intel_dpt_create(struct intel_framebuffer *fb); 24 u64 intel_dpt_offset(struct i915_vma *dpt_vma); 25 26 #endif /* __INTEL_DPT_H__ */ 27