Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_gart.c253 t = offset / RADEON_GPU_PAGE_SIZE; in radeon_gart_unbind()
254 p = t / (PAGE_SIZE / RADEON_GPU_PAGE_SIZE); in radeon_gart_unbind()
258 for (j = 0; j < (PAGE_SIZE / RADEON_GPU_PAGE_SIZE); j++, t++) { in radeon_gart_unbind()
300 t = offset / RADEON_GPU_PAGE_SIZE; in radeon_gart_bind()
301 p = t / (PAGE_SIZE / RADEON_GPU_PAGE_SIZE); in radeon_gart_bind()
306 for (j = 0; j < (PAGE_SIZE / RADEON_GPU_PAGE_SIZE); j++, t++) { in radeon_gart_bind()
312 page_base += RADEON_GPU_PAGE_SIZE; in radeon_gart_bind()
338 if (PAGE_SIZE < RADEON_GPU_PAGE_SIZE) { in radeon_gart_init()
347 rdev->gart.num_gpu_pages = rdev->mc.gtt_size / RADEON_GPU_PAGE_SIZE; in radeon_gart_init()
Dradeon_benchmark.c50 size / RADEON_GPU_PAGE_SIZE, in radeon_benchmark_do_move()
55 size / RADEON_GPU_PAGE_SIZE, in radeon_benchmark_do_move()
206 radeon_benchmark_move(rdev, i * RADEON_GPU_PAGE_SIZE, in radeon_benchmark()
213 radeon_benchmark_move(rdev, i * RADEON_GPU_PAGE_SIZE, in radeon_benchmark()
220 radeon_benchmark_move(rdev, i * RADEON_GPU_PAGE_SIZE, in radeon_benchmark()
Dradeon_vm.c465 last_pfn = eoffset / RADEON_GPU_PAGE_SIZE; in radeon_vm_bo_set_addr()
478 soffset /= RADEON_GPU_PAGE_SIZE; in radeon_vm_bo_set_addr()
479 eoffset /= RADEON_GPU_PAGE_SIZE; in radeon_vm_bo_set_addr()
551 RADEON_GPU_PAGE_SIZE, true, in radeon_vm_bo_set_addr()
774 RADEON_GPU_PAGE_SIZE, flags); in radeon_vm_frag_ptes()
782 RADEON_GPU_PAGE_SIZE, flags); in radeon_vm_frag_ptes()
783 addr += RADEON_GPU_PAGE_SIZE * count; in radeon_vm_frag_ptes()
789 RADEON_GPU_PAGE_SIZE, flags | frag_flags); in radeon_vm_frag_ptes()
793 addr += RADEON_GPU_PAGE_SIZE * count; in radeon_vm_frag_ptes()
796 RADEON_GPU_PAGE_SIZE, flags); in radeon_vm_frag_ptes()
[all …]
Dradeon_object.h117 return (bo->tbo.num_pages << PAGE_SHIFT) / RADEON_GPU_PAGE_SIZE; in radeon_bo_ngpu_pages()
122 return (bo->tbo.mem.page_alignment << PAGE_SHIFT) / RADEON_GPU_PAGE_SIZE; in radeon_bo_gpu_page_alignment()
Dradeon_ib.c205 RADEON_GPU_PAGE_SIZE, in radeon_ib_pool_init()
214 RADEON_GPU_PAGE_SIZE, in radeon_ib_pool_init()
Dradeon_test.c122 size / RADEON_GPU_PAGE_SIZE, in radeon_do_test_moves()
126 size / RADEON_GPU_PAGE_SIZE, in radeon_do_test_moves()
173 size / RADEON_GPU_PAGE_SIZE, in radeon_do_test_moves()
177 size / RADEON_GPU_PAGE_SIZE, in radeon_do_test_moves()
Dradeon_uvd.c782 RADEON_GPU_PAGE_SIZE; in radeon_uvd_get_create_msg()
818 RADEON_GPU_PAGE_SIZE; in radeon_uvd_get_destroy_msg()
Dradeon_ttm.c196 BUILD_BUG_ON((PAGE_SIZE % RADEON_GPU_PAGE_SIZE) != 0); in radeon_move_blit()
198 num_pages = new_mem->num_pages * (PAGE_SIZE / RADEON_GPU_PAGE_SIZE); in radeon_move_blit()
Dradeon_device.c463 r = radeon_bo_create(rdev, RADEON_GPU_PAGE_SIZE, PAGE_SIZE, true, in radeon_wb_init()
493 memset((char *)rdev->wb.wb, 0, RADEON_GPU_PAGE_SIZE); in radeon_wb_init()
Dradeon_gem.c686 args->offset = bo_va->it.start * RADEON_GPU_PAGE_SIZE; in radeon_gem_va_ioctl()
Dradeon.h640 #define RADEON_GPU_PAGE_SIZE 4096 macro
641 #define RADEON_GPU_PAGE_MASK (RADEON_GPU_PAGE_SIZE - 1)
Dsi.c3670 tmp = (order_base_2(RADEON_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; in si_cp_resume()
3701 tmp = (order_base_2(RADEON_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; in si_cp_resume()
3725 tmp = (order_base_2(RADEON_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; in si_cp_resume()
Dni.c1695 rb_cntl |= order_base_2(RADEON_GPU_PAGE_SIZE/8) << 8; in cayman_cp_resume()
Dr600.c1513 r = radeon_bo_create(rdev, RADEON_GPU_PAGE_SIZE, in r600_vram_scratch_init()
2730 tmp = (order_base_2(RADEON_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; in r600_cp_resume()
Dcik.c4080 tmp = (order_base_2(RADEON_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; in cik_cp_gfx_resume()
4675 (order_base_2(RADEON_GPU_PAGE_SIZE/8) << 8); in cik_cp_compute_resume()
Dr100.c899 uint32_t stride_bytes = RADEON_GPU_PAGE_SIZE; in r100_copy_blit()
Devergreen.c3084 tmp = (order_base_2(RADEON_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; in evergreen_cp_resume()