Home
last modified time | relevance | path

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

/linux-6.1.9/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()
307 for (j = 0; j < (PAGE_SIZE / RADEON_GPU_PAGE_SIZE); j++, t++) { in radeon_gart_bind()
313 page_base += RADEON_GPU_PAGE_SIZE; in radeon_gart_bind()
339 if (PAGE_SIZE < RADEON_GPU_PAGE_SIZE) { in radeon_gart_init()
348 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.c466 last_pfn = eoffset / RADEON_GPU_PAGE_SIZE; in radeon_vm_bo_set_addr()
479 soffset /= RADEON_GPU_PAGE_SIZE; in radeon_vm_bo_set_addr()
480 eoffset /= RADEON_GPU_PAGE_SIZE; in radeon_vm_bo_set_addr()
552 RADEON_GPU_PAGE_SIZE, true, in radeon_vm_bo_set_addr()
773 RADEON_GPU_PAGE_SIZE, flags); in radeon_vm_frag_ptes()
781 RADEON_GPU_PAGE_SIZE, flags); in radeon_vm_frag_ptes()
782 addr += RADEON_GPU_PAGE_SIZE * count; in radeon_vm_frag_ptes()
788 RADEON_GPU_PAGE_SIZE, flags | frag_flags); in radeon_vm_frag_ptes()
792 addr += RADEON_GPU_PAGE_SIZE * count; in radeon_vm_frag_ptes()
795 RADEON_GPU_PAGE_SIZE, flags); in radeon_vm_frag_ptes()
[all …]
Dradeon_object.h117 return bo->tbo.base.size / RADEON_GPU_PAGE_SIZE; in radeon_bo_ngpu_pages()
122 return (bo->tbo.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_ttm.c182 BUILD_BUG_ON((PAGE_SIZE % RADEON_GPU_PAGE_SIZE) != 0); in radeon_move_blit()
184 num_pages = new_mem->num_pages * (PAGE_SIZE / RADEON_GPU_PAGE_SIZE); in radeon_move_blit()
Dradeon_uvd.c772 RADEON_GPU_PAGE_SIZE; in radeon_uvd_get_create_msg()
808 RADEON_GPU_PAGE_SIZE; in radeon_uvd_get_destroy_msg()
Dradeon_device.c464 r = radeon_bo_create(rdev, RADEON_GPU_PAGE_SIZE, PAGE_SIZE, true, in radeon_wb_init()
494 memset((char *)rdev->wb.wb, 0, RADEON_GPU_PAGE_SIZE); in radeon_wb_init()
Dradeon_gem.c761 args->offset = bo_va->it.start * RADEON_GPU_PAGE_SIZE; in radeon_gem_va_ioctl()
Dradeon.h632 #define RADEON_GPU_PAGE_SIZE 4096 macro
633 #define RADEON_GPU_PAGE_MASK (RADEON_GPU_PAGE_SIZE - 1)
Dsi.c3665 tmp = (order_base_2(RADEON_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; in si_cp_resume()
3696 tmp = (order_base_2(RADEON_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; in si_cp_resume()
3720 tmp = (order_base_2(RADEON_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; in si_cp_resume()
Dni.c1682 rb_cntl |= order_base_2(RADEON_GPU_PAGE_SIZE/8) << 8; in cayman_cp_resume()
Dr600.c1512 r = radeon_bo_create(rdev, RADEON_GPU_PAGE_SIZE, in r600_vram_scratch_init()
2731 tmp = (order_base_2(RADEON_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; in r600_cp_resume()
Dcik.c4070 tmp = (order_base_2(RADEON_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; in cik_cp_gfx_resume()
4665 (order_base_2(RADEON_GPU_PAGE_SIZE/8) << 8); in cik_cp_compute_resume()
Dr100.c909 uint32_t stride_bytes = RADEON_GPU_PAGE_SIZE; in r100_copy_blit()
Devergreen.c3086 tmp = (order_base_2(RADEON_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; in evergreen_cp_resume()