Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_object.c36 const unsigned long nreal = 509; /* just to be awkward */ in igt_gem_huge() local
45 nreal * PAGE_SIZE, in igt_gem_huge()
53 nreal, obj->base.size / PAGE_SIZE, err); in igt_gem_huge()
59 i915_gem_object_get_page(obj, n % nreal)) { in igt_gem_huge()
61 n, n % nreal); in igt_gem_huge()
H A Dhuge_gem_object.c14 unsigned long nreal = obj->scratch / PAGE_SIZE; in huge_free_pages() local
20 if (!--nreal) in huge_free_pages()
31 const unsigned long nreal = obj->scratch / PAGE_SIZE; in huge_get_pages() local
51 for (n = 0; n < nreal; n++) { in huge_get_pages()
63 if (nreal < npages) { in huge_get_pages()
H A Di915_gem_mman.c189 const unsigned int nreal = obj->scratch / PAGE_SIZE; in check_partial_mappings() local
223 GEM_BUG_ON(view.partial.size > nreal); in check_partial_mappings()
317 const unsigned int nreal = 1 << 12; /* largest tile row x2 */ in igt_partial_tiling() local
336 nreal << PAGE_SHIFT, in igt_partial_tiling()
344 nreal, obj->base.size / PAGE_SIZE, err); in igt_partial_tiling()
448 const unsigned int nreal = 1 << 12; /* largest tile row x2 */ in igt_smoke_tiling() local
473 nreal << PAGE_SHIFT, in igt_smoke_tiling()
481 nreal, obj->base.size / PAGE_SIZE, err); in igt_smoke_tiling()