sg_table
intel_gtt_insert_sg_entries(struct sg_table *st,
struct sg_table *amdgpu_gem_prime_get_sg_table(struct drm_gem_object *obj);
struct sg_table *sg);
struct sg_table *sg)
struct sg_table *amdgpu_gem_prime_get_sg_table(struct drm_gem_object *obj)
ttm->sg = kzalloc(sizeof(struct sg_table), GFP_KERNEL);
drm_clflush_sg(struct sg_table *st)
struct sg_table *sgt = prime_attach->sgt;
struct sg_table *drm_gem_map_dma_buf(struct dma_buf_attachment *attach,
struct sg_table *sgt;
struct sg_table *sgt,
struct sg_table *sgt;
struct sg_table *sgt;
struct sg_table *drm_prime_pages_to_sg(struct page **pages, unsigned int nr_pages)
struct sg_table *sg = NULL;
sg = kmalloc(sizeof(struct sg_table), M_DRM, GFP_KERNEL);
int drm_prime_sg_to_page_addr_arrays(struct sg_table *sgt, struct page **pages,
void drm_prime_gem_destroy(struct drm_gem_object *obj, struct sg_table *sg)
struct sg_table *pages,
struct sg_table *pages);
struct sg_table *pages);
struct sg_table *pages)
static struct sg_table *
struct sg_table *pages;
struct sg_table *pages;
static bool i915_sg_trim(struct sg_table *orig_st)
struct sg_table new_st;
struct sg_table *st;
struct sg_table *st;
struct sg_table *pages,
struct sg_table *sgt = obj->mm.pages;
struct sg_table *pages,
struct sg_table *pages)
struct sg_table *pages;
struct sg_table *pages;
struct sg_table *pages)
static struct sg_table *i915_gem_map_dma_buf(struct dma_buf_attachment *attachment,
struct sg_table *st;
st = kmalloc(sizeof(struct sg_table), M_DRM, GFP_KERNEL);
struct sg_table *sg,
struct sg_table *pages)
struct sg_table *pages)
struct sg_table *pages)
struct sg_table *pages)
struct sg_table *st, struct scatterlist *sg)
static noinline struct sg_table *
struct sg_table *st;
static noinline struct sg_table *
struct sg_table *st;
struct sg_table;
struct sg_table *pages);
struct sg_table *pages);
struct sg_table *pages)
static void internal_free_pages(struct sg_table *st)
struct sg_table *st;
struct sg_table *pages;
void (*put_pages)(struct drm_i915_gem_object *, struct sg_table *);
static struct sg_table *
struct sg_table *st;
struct sg_table *pages =
struct sg_table *pages)
static struct sg_table *
struct sg_table *st;
struct sg_table *pages = ERR_PTR(ret);
static struct sg_table *
struct sg_table *pages;
struct sg_table *pages)
struct sg_table *pages;
struct sg_table *sg = vma->pages;
void drm_clflush_sg(struct sg_table *st);
struct sg_table *(*gem_prime_get_sg_table)(struct drm_gem_object *obj);
struct sg_table *sgt);
struct sg_table *sgt;
struct sg_table *drm_gem_cma_prime_get_sg_table(struct drm_gem_object *obj);
struct sg_table *sgt);
int drm_prime_sg_to_page_addr_arrays(struct sg_table *sgt, struct page **pages,
struct sg_table *drm_prime_pages_to_sg(struct page **pages, unsigned int nr_pages);
void drm_prime_gem_destroy(struct drm_gem_object *obj, struct sg_table *sg);
struct sg_table *drm_gem_map_dma_buf(struct dma_buf_attachment *attach,
struct sg_table *sgt,
void intel_gtt_insert_sg_entries(struct sg_table *st,
struct sg_table *sg;
struct sg_table *sg,
struct sg_table *sg, struct reservation_object *resv,
struct sg_table *sg; /* for SG objects via dma-buf */
struct sg_table * (*map_dma_buf)(struct dma_buf_attachment *,
struct sg_table *,
struct sg_table * dma_buf_map_attachment(struct dma_buf_attachment *,
struct sg_table *, enum dma_data_direction);
void __sg_free_table(struct sg_table *table, unsigned int max_ents);
sg_free_table(struct sg_table *table)
int __sg_alloc_table(struct sg_table *table, unsigned int nents,
sg_alloc_table(struct sg_table *table, unsigned int nents, gfp_t gfp_mask)
sg_alloc_table_from_pages(struct sg_table *sgt,
int __sg_alloc_table_from_pages(struct sg_table *sgt, struct page **pages,
struct sg_table *
struct sg_table *sg_table;
sg_table = attach->dmabuf->ops->map_dma_buf(attach, direction);
if (sg_table == NULL)
return sg_table;
struct sg_table *sg_table,
__sg_free_table(struct sg_table *table, unsigned int max_ents)
__sg_alloc_table(struct sg_table *table, unsigned int nents,
struct sg_table *radeon_gem_prime_get_sg_table(struct drm_gem_object *obj);
struct sg_table *sg);
u32 domain, u32 flags, struct sg_table *sg,
struct sg_table *sg,
struct sg_table *radeon_gem_prime_get_sg_table(struct drm_gem_object *obj);
struct sg_table *sg);
struct sg_table *radeon_gem_prime_get_sg_table(struct drm_gem_object *obj)
struct sg_table *sg)
ttm->sg = kzalloc(sizeof(struct sg_table), GFP_KERNEL);
struct sg_table *sg,
struct sg_table *sg,