Searched refs:AMDGPU_GPU_PAGE_SIZE (Results 1 – 24 of 24) sorted by relevance
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_gart.c | 244 t = offset / AMDGPU_GPU_PAGE_SIZE; in amdgpu_gart_unbind() 254 page_base += AMDGPU_GPU_PAGE_SIZE; in amdgpu_gart_unbind() 295 t = offset / AMDGPU_GPU_PAGE_SIZE; in amdgpu_gart_map() 301 page_base += AMDGPU_GPU_PAGE_SIZE; in amdgpu_gart_map() 371 if (PAGE_SIZE < AMDGPU_GPU_PAGE_SIZE) { in amdgpu_gart_init() 380 adev->gart.num_gpu_pages = adev->gmc.gart_size / AMDGPU_GPU_PAGE_SIZE; in amdgpu_gart_init()
|
A D | amdgpu_gart.h | 35 #define AMDGPU_GPU_PAGE_SIZE 4096 macro 36 #define AMDGPU_GPU_PAGE_MASK (AMDGPU_GPU_PAGE_SIZE - 1) 40 #define AMDGPU_GPU_PAGES_IN_CPU_PAGE (PAGE_SIZE / AMDGPU_GPU_PAGE_SIZE)
|
A D | amdgpu_benchmark.c | 201 amdgpu_benchmark_move(adev, i * AMDGPU_GPU_PAGE_SIZE, in amdgpu_benchmark() 208 amdgpu_benchmark_move(adev, i * AMDGPU_GPU_PAGE_SIZE, in amdgpu_benchmark() 215 amdgpu_benchmark_move(adev, i * AMDGPU_GPU_PAGE_SIZE, in amdgpu_benchmark()
|
A D | amdgpu_object.h | 197 return bo->tbo.base.size / AMDGPU_GPU_PAGE_SIZE; in amdgpu_bo_ngpu_pages() 202 return (bo->tbo.page_alignment << PAGE_SHIFT) / AMDGPU_GPU_PAGE_SIZE; in amdgpu_bo_gpu_page_alignment()
|
A D | amdgpu_vm.c | 933 bp.byte_align = AMDGPU_GPU_PAGE_SIZE; in amdgpu_vm_pt_create() 1618 incr = (uint64_t)AMDGPU_GPU_PAGE_SIZE << shift; in amdgpu_vm_update_ptes() 1758 (last - start + 1) * AMDGPU_GPU_PAGE_SIZE, &cursor); in amdgpu_vm_bo_update_mapping() 2355 saddr /= AMDGPU_GPU_PAGE_SIZE; in amdgpu_vm_bo_map() 2356 eaddr /= AMDGPU_GPU_PAGE_SIZE; in amdgpu_vm_bo_map() 2432 saddr /= AMDGPU_GPU_PAGE_SIZE; in amdgpu_vm_bo_replace_map() 2433 eaddr /= AMDGPU_GPU_PAGE_SIZE; in amdgpu_vm_bo_replace_map() 2467 saddr /= AMDGPU_GPU_PAGE_SIZE; in amdgpu_vm_bo_unmap() 2522 saddr /= AMDGPU_GPU_PAGE_SIZE; in amdgpu_vm_bo_clear_mappings() 2523 eaddr /= AMDGPU_GPU_PAGE_SIZE; in amdgpu_vm_bo_clear_mappings() [all …]
|
A D | amdgpu_test.c | 49 AMDGPU_GPU_PAGE_SIZE; in amdgpu_do_test_moves()
|
A D | amdgpu_vce.c | 460 r = amdgpu_ib_get(ring->adev, NULL, AMDGPU_GPU_PAGE_SIZE * 2, in amdgpu_vce_get_create_msg() 673 (mapping->last + 1) * AMDGPU_GPU_PAGE_SIZE) { in amdgpu_vce_cs_reloc() 679 addr -= mapping->start * AMDGPU_GPU_PAGE_SIZE; in amdgpu_vce_cs_reloc()
|
A D | amdgpu_vcn.c | 596 r = amdgpu_ib_get(adev, NULL, AMDGPU_GPU_PAGE_SIZE * 2, in amdgpu_vcn_dec_get_create_msg() 631 r = amdgpu_ib_get(adev, NULL, AMDGPU_GPU_PAGE_SIZE * 2, in amdgpu_vcn_dec_get_destroy_msg() 914 r = amdgpu_ib_get(adev, NULL, (128 << 10) + AMDGPU_GPU_PAGE_SIZE, in amdgpu_vcn_enc_ring_test_ib()
|
A D | amdgpu_kms.c | 838 vm_size = adev->vm_manager.max_pfn * AMDGPU_GPU_PAGE_SIZE; in amdgpu_info_ioctl() 854 dev_info->virtual_address_alignment = max_t(u32, PAGE_SIZE, AMDGPU_GPU_PAGE_SIZE); in amdgpu_info_ioctl() 855 dev_info->pte_fragment_size = (1 << adev->vm_manager.fragment_size) * AMDGPU_GPU_PAGE_SIZE; in amdgpu_info_ioctl() 856 dev_info->gart_page_size = max_t(u32, PAGE_SIZE, AMDGPU_GPU_PAGE_SIZE); in amdgpu_info_ioctl()
|
A D | amdgpu_ib.c | 311 AMDGPU_GPU_PAGE_SIZE, in amdgpu_ib_pool_init()
|
A D | amdgpu_cs.c | 761 (m->last + 1) * AMDGPU_GPU_PAGE_SIZE) { in amdgpu_cs_vm_handling() 772 offset = m->start * AMDGPU_GPU_PAGE_SIZE; in amdgpu_cs_vm_handling() 1690 addr /= AMDGPU_GPU_PAGE_SIZE; in amdgpu_cs_find_mapping()
|
A D | amdgpu_uvd.c | 923 end = end * AMDGPU_GPU_PAGE_SIZE + start; in amdgpu_uvd_cs_pass2() 925 addr -= mapping->start * AMDGPU_GPU_PAGE_SIZE; in amdgpu_uvd_cs_pass2()
|
A D | amdgpu_virt.c | 377 AMDGPU_GPU_PAGE_SIZE, in amdgpu_virt_ras_reserve_bps()
|
A D | amdgpu_ttm.c | 220 AMDGPU_GPU_PAGE_SIZE; in amdgpu_ttm_map_buffer() 309 AMDGPU_GPU_PAGE_SIZE); in amdgpu_ttm_copy_mem_to_mem()
|
A D | amdgpu_gem.c | 702 vm_size = adev->vm_manager.max_pfn * AMDGPU_GPU_PAGE_SIZE; in amdgpu_gem_va_ioctl()
|
A D | amdgpu_ras.c | 1804 .size = AMDGPU_GPU_PAGE_SIZE, in amdgpu_ras_badpages_read() 1912 AMDGPU_GPU_PAGE_SIZE); in amdgpu_ras_add_bad_pages()
|
A D | mes_v10_1.c | 665 ((order_base_2(AMDGPU_GPU_PAGE_SIZE / 4) - 1) << 8)); in mes_v10_1_mqd_init()
|
A D | gfx_v6_0.c | 2107 tmp = (order_base_2(AMDGPU_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; in gfx_v6_0_cp_gfx_resume() 2196 tmp = (order_base_2(AMDGPU_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; in gfx_v6_0_cp_compute_resume() 2216 tmp = (order_base_2(AMDGPU_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; in gfx_v6_0_cp_compute_resume()
|
A D | vcn_v3_0.c | 1841 start = map->start * AMDGPU_GPU_PAGE_SIZE; in vcn_v3_0_dec_msg() 1842 end = (map->last + 1) * AMDGPU_GPU_PAGE_SIZE; in vcn_v3_0_dec_msg()
|
A D | gfx_v7_0.c | 2622 tmp = (order_base_2(AMDGPU_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; in gfx_v7_0_cp_gfx_resume() 2970 (order_base_2(AMDGPU_GPU_PAGE_SIZE/8) << 8); in gfx_v7_0_mqd_init()
|
A D | amdgpu_device.c | 925 return amdgpu_bo_create_kernel(adev, AMDGPU_GPU_PAGE_SIZE, in amdgpu_device_vram_scratch_init()
|
A D | gfx_v8_0.c | 4509 ((order_base_2(AMDGPU_GPU_PAGE_SIZE / 4) - 1) << 8)); in gfx_v8_0_mqd_init()
|
A D | gfx_v9_0.c | 3561 ((order_base_2(AMDGPU_GPU_PAGE_SIZE / 4) - 1) << 8)); in gfx_v9_0_mqd_init()
|
A D | gfx_v10_0.c | 6920 ((order_base_2(AMDGPU_GPU_PAGE_SIZE / 4) - 1) << 8)); in gfx_v10_0_compute_mqd_init()
|
Completed in 120 milliseconds