/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gart.c | 170 t = offset / AMDGPU_GPU_PAGE_SIZE; in amdgpu_gart_unbind() 180 page_base += AMDGPU_GPU_PAGE_SIZE; in amdgpu_gart_unbind() 215 t = offset / AMDGPU_GPU_PAGE_SIZE; in amdgpu_gart_map() 221 page_base += AMDGPU_GPU_PAGE_SIZE; in amdgpu_gart_map() 287 if (PAGE_SIZE < AMDGPU_GPU_PAGE_SIZE) { in amdgpu_gart_init() 296 adev->gart.num_gpu_pages = adev->gmc.gart_size / AMDGPU_GPU_PAGE_SIZE; in amdgpu_gart_init()
|
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)
|
D | amdgpu_benchmark.c | 177 r = amdgpu_benchmark_move(adev, i * AMDGPU_GPU_PAGE_SIZE, in amdgpu_benchmark() 190 r = amdgpu_benchmark_move(adev, i * AMDGPU_GPU_PAGE_SIZE, in amdgpu_benchmark() 203 r = amdgpu_benchmark_move(adev, i * AMDGPU_GPU_PAGE_SIZE, in amdgpu_benchmark()
|
D | amdgpu_object.h | 196 return bo->tbo.base.size / AMDGPU_GPU_PAGE_SIZE; in amdgpu_bo_ngpu_pages() 201 return (bo->tbo.page_alignment << PAGE_SHIFT) / AMDGPU_GPU_PAGE_SIZE; in amdgpu_bo_gpu_page_alignment()
|
D | amdgpu_vm.c | 837 (last - start + 1) * AMDGPU_GPU_PAGE_SIZE, &cursor); in amdgpu_vm_update_range() 884 amdgpu_res_next(&cursor, num_entries * AMDGPU_GPU_PAGE_SIZE); in amdgpu_vm_update_range() 1441 saddr /= AMDGPU_GPU_PAGE_SIZE; in amdgpu_vm_bo_map() 1442 eaddr /= AMDGPU_GPU_PAGE_SIZE; in amdgpu_vm_bo_map() 1518 saddr /= AMDGPU_GPU_PAGE_SIZE; in amdgpu_vm_bo_replace_map() 1519 eaddr /= AMDGPU_GPU_PAGE_SIZE; in amdgpu_vm_bo_replace_map() 1553 saddr /= AMDGPU_GPU_PAGE_SIZE; in amdgpu_vm_bo_unmap() 1608 saddr /= AMDGPU_GPU_PAGE_SIZE; in amdgpu_vm_bo_clear_mappings() 1609 eaddr /= AMDGPU_GPU_PAGE_SIZE; in amdgpu_vm_bo_clear_mappings() 2474 addr /= AMDGPU_GPU_PAGE_SIZE; in amdgpu_vm_handle_fault()
|
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()
|
D | amdgpu_vm_pt.c | 514 bp.byte_align = AMDGPU_GPU_PAGE_SIZE; in amdgpu_vm_pt_create() 956 incr = (uint64_t)AMDGPU_GPU_PAGE_SIZE << shift; in amdgpu_vm_ptes_update()
|
D | amdgpu_ib.c | 311 AMDGPU_GPU_PAGE_SIZE, in amdgpu_ib_pool_init()
|
D | amdgpu_kms.c | 804 vm_size = adev->vm_manager.max_pfn * AMDGPU_GPU_PAGE_SIZE; in amdgpu_info_ioctl() 820 dev_info->virtual_address_alignment = max_t(u32, PAGE_SIZE, AMDGPU_GPU_PAGE_SIZE); in amdgpu_info_ioctl() 821 dev_info->pte_fragment_size = (1 << adev->vm_manager.fragment_size) * AMDGPU_GPU_PAGE_SIZE; in amdgpu_info_ioctl() 822 dev_info->gart_page_size = max_t(u32, PAGE_SIZE, AMDGPU_GPU_PAGE_SIZE); in amdgpu_info_ioctl()
|
D | amdgpu_vcn.c | 658 r = amdgpu_ib_get(adev, NULL, AMDGPU_GPU_PAGE_SIZE * 2, in amdgpu_vcn_dec_get_create_msg() 693 r = amdgpu_ib_get(adev, NULL, AMDGPU_GPU_PAGE_SIZE * 2, in amdgpu_vcn_dec_get_destroy_msg() 1046 r = amdgpu_ib_get(adev, NULL, (128 << 10) + AMDGPU_GPU_PAGE_SIZE, in amdgpu_vcn_enc_ring_test_ib()
|
D | amdgpu_cs.c | 1044 (m->last + 1) * AMDGPU_GPU_PAGE_SIZE) { in amdgpu_cs_patch_ibs() 1055 kptr += va_start - (m->start * AMDGPU_GPU_PAGE_SIZE); in amdgpu_cs_patch_ibs() 1754 addr /= AMDGPU_GPU_PAGE_SIZE; in amdgpu_cs_find_mapping()
|
D | amdgpu_uvd.c | 926 end = end * AMDGPU_GPU_PAGE_SIZE + start; in amdgpu_uvd_cs_pass2() 928 addr -= mapping->start * AMDGPU_GPU_PAGE_SIZE; in amdgpu_uvd_cs_pass2()
|
D | vcn_v4_0.c | 1625 start = map->start * AMDGPU_GPU_PAGE_SIZE; in vcn_v4_0_dec_msg() 1626 end = (map->last + 1) * AMDGPU_GPU_PAGE_SIZE; in vcn_v4_0_dec_msg()
|
D | amdgpu_gem.c | 700 vm_size = adev->vm_manager.max_pfn * AMDGPU_GPU_PAGE_SIZE; in amdgpu_gem_va_ioctl()
|
D | amdgpu_virt.c | 393 AMDGPU_GPU_PAGE_SIZE, in amdgpu_virt_ras_reserve_bps()
|
D | gfx_v6_0.c | 2083 tmp = (order_base_2(AMDGPU_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; in gfx_v6_0_cp_gfx_resume() 2172 tmp = (order_base_2(AMDGPU_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; in gfx_v6_0_cp_compute_resume() 2192 tmp = (order_base_2(AMDGPU_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; in gfx_v6_0_cp_compute_resume()
|
D | amdgpu_ras.c | 1900 .size = AMDGPU_GPU_PAGE_SIZE, in amdgpu_ras_badpages_read() 2013 AMDGPU_GPU_PAGE_SIZE); in amdgpu_ras_add_bad_pages()
|
D | vcn_v3_0.c | 1798 start = map->start * AMDGPU_GPU_PAGE_SIZE; in vcn_v3_0_dec_msg() 1799 end = (map->last + 1) * AMDGPU_GPU_PAGE_SIZE; in vcn_v3_0_dec_msg()
|
D | mes_v10_1.c | 773 ((order_base_2(AMDGPU_GPU_PAGE_SIZE / 4) - 1) << 8)); in mes_v10_1_mqd_init()
|
D | mes_v11_0.c | 824 ((order_base_2(AMDGPU_GPU_PAGE_SIZE / 4) - 1) << 8)); in mes_v11_0_mqd_init()
|
D | amdgpu_ttm.c | 226 AMDGPU_GPU_PAGE_SIZE; in amdgpu_ttm_map_buffer()
|
D | vcn_v1_0.c | 1926 mapping = amdgpu_vm_bo_lookup_mapping(vm, addr/AMDGPU_GPU_PAGE_SIZE); in vcn_v1_0_validate_bo()
|
D | gfx_v7_0.c | 2586 tmp = (order_base_2(AMDGPU_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; in gfx_v7_0_cp_gfx_resume() 2934 (order_base_2(AMDGPU_GPU_PAGE_SIZE/8) << 8); in gfx_v7_0_mqd_init()
|
D | amdgpu_psp.c | 3556 AMDGPU_GPU_PAGE_SIZE, in amdgpu_psp_vbflash_read()
|
D | amdgpu_device.c | 938 return amdgpu_bo_create_kernel(adev, AMDGPU_GPU_PAGE_SIZE, in amdgpu_device_vram_scratch_init()
|