xref: /linux/drivers/gpu/drm/i915/i915_dpt.h (revision 4a57e0913e8c7fff407e97909f4ae48caa84d612)
1 /* SPDX-License-Identifier: MIT */
2 /* Copyright 2026 Intel Corporation */
3 
4 #ifndef __I915_DPT_H__
5 #define __I915_DPT_H__
6 
7 #include <linux/types.h>
8 
9 struct i915_address_space;
10 struct i915_vma;
11 struct intel_dpt;
12 
13 struct i915_address_space *i915_dpt_to_vm(struct intel_dpt *dpt);
14 struct i915_vma *i915_dpt_pin_to_ggtt(struct intel_dpt *dpt, unsigned int alignment);
15 void i915_dpt_unpin_from_ggtt(struct intel_dpt *dpt);
16 u64 i915_dpt_offset(struct i915_vma *dpt_vma);
17 
18 extern const struct intel_display_dpt_interface i915_display_dpt_interface;
19 
20 #endif /* __I915_DPT_H__ */
21