#include "gem/i915_gem_domain.h"
#include "gem/i915_gem_internal.h"
#include "gem/i915_gem_lmem.h"
#include "gt/gen8_ppgtt.h"
#include "i915_drv.h"
#include "intel_display_types.h"
#include "intel_dpt.h"
#include "intel_fb.h"
struct i915_dpt { … };
#define i915_is_dpt(vm) …
static inline struct i915_dpt *
i915_vm_to_dpt(struct i915_address_space *vm)
{ … }
#define dpt_total_entries(dpt) …
static void gen8_set_pte(void __iomem *addr, gen8_pte_t pte)
{ … }
static void dpt_insert_page(struct i915_address_space *vm,
dma_addr_t addr,
u64 offset,
unsigned int pat_index,
u32 flags)
{ … }
static void dpt_insert_entries(struct i915_address_space *vm,
struct i915_vma_resource *vma_res,
unsigned int pat_index,
u32 flags)
{ … }
static void dpt_clear_range(struct i915_address_space *vm,
u64 start, u64 length)
{ … }
static void dpt_bind_vma(struct i915_address_space *vm,
struct i915_vm_pt_stash *stash,
struct i915_vma_resource *vma_res,
unsigned int pat_index,
u32 flags)
{ … }
static void dpt_unbind_vma(struct i915_address_space *vm,
struct i915_vma_resource *vma_res)
{ … }
static void dpt_cleanup(struct i915_address_space *vm)
{ … }
struct i915_vma *intel_dpt_pin_to_ggtt(struct i915_address_space *vm,
unsigned int alignment)
{ … }
void intel_dpt_unpin_from_ggtt(struct i915_address_space *vm)
{ … }
void intel_dpt_resume(struct drm_i915_private *i915)
{ … }
void intel_dpt_suspend(struct drm_i915_private *i915)
{ … }
struct i915_address_space *
intel_dpt_create(struct intel_framebuffer *fb)
{ … }
void intel_dpt_destroy(struct i915_address_space *vm)
{ … }
u64 intel_dpt_offset(struct i915_vma *dpt_vma)
{ … }