Home
last modified time | relevance | path

Searched refs:sg_page_sizes (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_region.c33 unsigned int sg_page_sizes; in i915_gem_object_get_pages_buddy() local
57 sg_page_sizes = 0; in i915_gem_object_get_pages_buddy()
72 sg_page_sizes |= sg->length; in i915_gem_object_get_pages_buddy()
90 sg_page_sizes |= sg->length; in i915_gem_object_get_pages_buddy()
94 __i915_gem_object_set_pages(obj, st, sg_page_sizes); in i915_gem_object_get_pages_buddy()
Di915_gem_internal.c38 unsigned int sg_page_sizes; in i915_gem_object_get_pages_internal() local
77 sg_page_sizes = 0; in i915_gem_object_get_pages_internal()
96 sg_page_sizes |= PAGE_SIZE << order; in i915_gem_object_get_pages_internal()
118 __i915_gem_object_set_pages(obj, st, sg_page_sizes); in i915_gem_object_get_pages_internal()
Di915_gem_shmem.c41 unsigned int sg_page_sizes; in shmem_get_pages() local
83 sg_page_sizes = 0; in shmem_get_pages()
139 sg_page_sizes |= sg->length; in shmem_get_pages()
153 sg_page_sizes |= sg->length; in shmem_get_pages()
185 __i915_gem_object_set_pages(obj, st, sg_page_sizes); in shmem_get_pages()
Di915_gem_dmabuf.c193 unsigned int sg_page_sizes; in i915_gem_object_get_pages_dmabuf() local
200 sg_page_sizes = i915_sg_page_sizes(pages->sgl); in i915_gem_object_get_pages_dmabuf()
202 __i915_gem_object_set_pages(obj, pages, sg_page_sizes); in i915_gem_object_get_pages_dmabuf()
Di915_gem_phys.c262 unsigned int sg_page_sizes = i915_sg_page_sizes(pages->sgl); in i915_gem_object_attach_phys() local
264 __i915_gem_object_set_pages(obj, pages, sg_page_sizes); in i915_gem_object_attach_phys()
Di915_gem_pages.c17 unsigned int sg_page_sizes) in __i915_gem_object_set_pages() argument
48 GEM_BUG_ON(!sg_page_sizes); in __i915_gem_object_set_pages()
49 obj->mm.page_sizes.phys = sg_page_sizes; in __i915_gem_object_set_pages()
Di915_gem_userptr.c405 unsigned int sg_page_sizes; in __i915_gem_userptr_alloc_pages() local
435 sg_page_sizes = i915_sg_page_sizes(st->sgl); in __i915_gem_userptr_alloc_pages()
437 __i915_gem_object_set_pages(obj, st, sg_page_sizes); in __i915_gem_userptr_alloc_pages()
Di915_gem_object.h300 unsigned int sg_page_sizes);
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/
Dhuge_pages.c65 unsigned int sg_page_sizes; in get_huge_pages() local
80 sg_page_sizes = 0; in get_huge_pages()
101 sg_page_sizes |= page_size; in get_huge_pages()
119 GEM_BUG_ON(sg_page_sizes != obj->mm.page_mask); in get_huge_pages()
120 __i915_gem_object_set_pages(obj, st, sg_page_sizes); in get_huge_pages()
190 unsigned int sg_page_sizes; in fake_get_huge_pages() local
206 sg_page_sizes = 0; in fake_get_huge_pages()
219 sg_page_sizes |= len; in fake_get_huge_pages()
234 __i915_gem_object_set_pages(obj, st, sg_page_sizes); in fake_get_huge_pages()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Di915_gem_gtt.c58 unsigned int sg_page_sizes; in fake_get_pages() local
71 sg_page_sizes = 0; in fake_get_pages()
80 sg_page_sizes |= len; in fake_get_pages()
86 __i915_gem_object_set_pages(obj, pages, sg_page_sizes); in fake_get_pages()