#include <drm/drm_cache.h>
#include <linux/vmalloc.h>
#include "gt/intel_gt.h"
#include "gt/intel_tlb.h"
#include "i915_drv.h"
#include "i915_gem_object.h"
#include "i915_scatterlist.h"
#include "i915_gem_lmem.h"
#include "i915_gem_mman.h"
void __i915_gem_object_set_pages(struct drm_i915_gem_object *obj,
struct sg_table *pages)
{ … }
int ____i915_gem_object_get_pages(struct drm_i915_gem_object *obj)
{ … }
int __i915_gem_object_get_pages(struct drm_i915_gem_object *obj)
{ … }
int i915_gem_object_pin_pages_unlocked(struct drm_i915_gem_object *obj)
{ … }
int i915_gem_object_truncate(struct drm_i915_gem_object *obj)
{ … }
static void __i915_gem_object_reset_page_iter(struct drm_i915_gem_object *obj)
{ … }
static void unmap_object(struct drm_i915_gem_object *obj, void *ptr)
{ … }
static void flush_tlb_invalidate(struct drm_i915_gem_object *obj)
{ … }
struct sg_table *
__i915_gem_object_unset_pages(struct drm_i915_gem_object *obj)
{ … }
int __i915_gem_object_put_pages(struct drm_i915_gem_object *obj)
{ … }
static void *i915_gem_object_map_page(struct drm_i915_gem_object *obj,
enum i915_map_type type)
{ … }
static void *i915_gem_object_map_pfn(struct drm_i915_gem_object *obj,
enum i915_map_type type)
{ … }
void *i915_gem_object_pin_map(struct drm_i915_gem_object *obj,
enum i915_map_type type)
{ … }
void *i915_gem_object_pin_map_unlocked(struct drm_i915_gem_object *obj,
enum i915_map_type type)
{ … }
void __i915_gem_object_flush_map(struct drm_i915_gem_object *obj,
unsigned long offset,
unsigned long size)
{ … }
void __i915_gem_object_release_map(struct drm_i915_gem_object *obj)
{ … }
struct scatterlist *
__i915_gem_object_page_iter_get_sg(struct drm_i915_gem_object *obj,
struct i915_gem_object_page_iter *iter,
pgoff_t n,
unsigned int *offset)
{ … }
struct page *
__i915_gem_object_get_page(struct drm_i915_gem_object *obj, pgoff_t n)
{ … }
struct page *
__i915_gem_object_get_dirty_page(struct drm_i915_gem_object *obj, pgoff_t n)
{ … }
dma_addr_t
__i915_gem_object_get_dma_address_len(struct drm_i915_gem_object *obj,
pgoff_t n, unsigned int *len)
{ … }
dma_addr_t
__i915_gem_object_get_dma_address(struct drm_i915_gem_object *obj, pgoff_t n)
{ … }