Home
last modified time | relevance | path

Searched refs:nreal (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/i915/selftests/
Dhuge_gem_object.c30 unsigned long nreal = obj->scratch / PAGE_SIZE; in huge_free_pages() local
33 for (sg = pages->sgl; sg && nreal--; sg = __sg_next(sg)) in huge_free_pages()
43 const unsigned long nreal = obj->scratch / PAGE_SIZE; in huge_get_pages() local
59 for (n = 0; n < nreal; n++) { in huge_get_pages()
71 if (nreal < npages) { in huge_get_pages()
Di915_gem_object.c106 const unsigned int nreal = 509; /* just to be awkward */ in igt_gem_huge() local
115 nreal * PAGE_SIZE, in igt_gem_huge()
123 nreal, obj->base.size / PAGE_SIZE, err); in igt_gem_huge()
129 i915_gem_object_get_page(obj, n % nreal)) { in igt_gem_huge()
131 n, n % nreal); in igt_gem_huge()
210 const unsigned int nreal = obj->scratch / PAGE_SIZE; in check_partial_mapping() local
240 GEM_BUG_ON(view.partial.size > nreal); in check_partial_mapping()
307 const unsigned int nreal = 1 << 12; /* largest tile row x2 */ in igt_partial_tiling() local
322 nreal << PAGE_SHIFT, in igt_partial_tiling()
330 nreal, obj->base.size / PAGE_SIZE, err); in igt_partial_tiling()