Linux Audio

Check our new training course

Loading...
v6.13.7
 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__ */
v6.2
 1/* SPDX-License-Identifier: MIT */
 2/*
 3 * Copyright © 2021 Intel Corporation
 4 */
 5
 6#ifndef __INTEL_DPT_H__
 7#define __INTEL_DPT_H__
 8
 
 
 9struct drm_i915_private;
10
11struct i915_address_space;
12struct i915_vma;
13struct intel_framebuffer;
14
15void intel_dpt_destroy(struct i915_address_space *vm);
16struct i915_vma *intel_dpt_pin(struct i915_address_space *vm);
17void intel_dpt_unpin(struct i915_address_space *vm);
 
18void intel_dpt_suspend(struct drm_i915_private *i915);
19void intel_dpt_resume(struct drm_i915_private *i915);
20struct i915_address_space *
21intel_dpt_create(struct intel_framebuffer *fb);
 
22
23#endif /* __INTEL_DPT_H__ */