Linux Audio

Check our new training course

Loading...
Note: File does not exist in v3.1.
 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
11struct drm_i915_private;
12
13struct i915_address_space;
14struct i915_vma;
15struct intel_framebuffer;
16
17void intel_dpt_destroy(struct i915_address_space *vm);
18struct i915_vma *intel_dpt_pin_to_ggtt(struct i915_address_space *vm,
19				       unsigned int alignment);
20void intel_dpt_unpin_from_ggtt(struct i915_address_space *vm);
21void intel_dpt_suspend(struct drm_i915_private *i915);
22void intel_dpt_resume(struct drm_i915_private *i915);
23struct i915_address_space *
24intel_dpt_create(struct intel_framebuffer *fb);
25u64 intel_dpt_offset(struct i915_vma *dpt_vma);
26
27#endif /* __INTEL_DPT_H__ */