Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/i915/selftests/
Di915_gem_context.c33 #define DW_PER_PAGE (PAGE_SIZE / sizeof(u32)) macro
217 for (m = 0; m < DW_PER_PAGE; m++) in cpu_fill()
255 for (; m < DW_PER_PAGE; m++) { in cpu_check()
302 size = min(vm->total / 2, 1024ull * DW_PER_PAGE * PAGE_SIZE); in create_test_object()
303 size = round_down(size, DW_PER_PAGE * PAGE_SIZE); in create_test_object()
305 obj = huge_gem_object(ctx->i915, DW_PER_PAGE * PAGE_SIZE, size); in create_test_object()
329 GEM_BUG_ON(!IS_ALIGNED(npages, DW_PER_PAGE)); in max_dwords()
330 return npages / DW_PER_PAGE; in max_dwords()