Lines Matching refs:pages
95 struct sg_table *pages) in i915_gem_object_put_pages_phys() argument
97 dma_addr_t dma = sg_dma_address(pages->sgl); in i915_gem_object_put_pages_phys()
98 void *vaddr = sg_page(pages->sgl); in i915_gem_object_put_pages_phys()
100 __i915_gem_object_release_shmem(obj, pages, false); in i915_gem_object_put_pages_phys()
130 sg_free_table(pages); in i915_gem_object_put_pages_phys()
131 kfree(pages); in i915_gem_object_put_pages_phys()
141 void *vaddr = sg_page(obj->mm.pages->sgl) + args->offset; in i915_gem_object_pwrite_phys()
171 void *vaddr = sg_page(obj->mm.pages->sgl) + args->offset; in i915_gem_object_pread_phys()
190 struct sg_table *pages; in i915_gem_object_shmem_to_phys() local
193 pages = __i915_gem_object_unset_pages(obj); in i915_gem_object_shmem_to_phys()
202 if (!IS_ERR_OR_NULL(pages)) in i915_gem_object_shmem_to_phys()
203 i915_gem_object_put_pages_shmem(obj, pages); in i915_gem_object_shmem_to_phys()
209 if (!IS_ERR_OR_NULL(pages)) { in i915_gem_object_shmem_to_phys()
210 unsigned int sg_page_sizes = i915_sg_dma_sizes(pages->sgl); in i915_gem_object_shmem_to_phys()
212 __i915_gem_object_set_pages(obj, pages, sg_page_sizes); in i915_gem_object_shmem_to_phys()