Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_context.c31 #define DW_PER_PAGE (PAGE_SIZE / sizeof(u32)) macro
493 for (m = 0; m < DW_PER_PAGE; m++) in cpu_fill()
538 for (; m < DW_PER_PAGE; m++) { in cpu_check()
589 size = min(vm->total / 2, 1024ull * DW_PER_PAGE * PAGE_SIZE); in create_test_object()
590 size = round_down(size, DW_PER_PAGE * PAGE_SIZE); in create_test_object()
592 obj = huge_gem_object(vm->i915, DW_PER_PAGE * PAGE_SIZE, size); in create_test_object()
616 GEM_BUG_ON(!IS_ALIGNED(npages, DW_PER_PAGE)); in max_dwords()
617 return npages / DW_PER_PAGE; in max_dwords()