Searched refs:AMDGPU_GPU_PAGE_SHIFT (Results 1 – 18 of 18) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | umc_v12_0.c | 285 pfns[pos++] = retired_page >> AMDGPU_GPU_PAGE_SHIFT; in umc_v12_0_lookup_bad_pages_in_a_row() 292 pfns[pos++] = retired_page >> AMDGPU_GPU_PAGE_SHIFT; in umc_v12_0_lookup_bad_pages_in_a_row() 569 ecc_err->pa_pfn = UMC_V12_ADDR_MASK_BAD_COLS(pa_addr) >> AMDGPU_GPU_PAGE_SHIFT; in umc_v12_0_update_ecc_status() 573 ecc_err->pa_pfn = BIT_ULL(UMC_V12_0_PA_C4_BIT) >> AMDGPU_GPU_PAGE_SHIFT; in umc_v12_0_update_ecc_status() 633 ecc_err->pa_pfn << AMDGPU_GPU_PAGE_SHIFT, in umc_v12_0_fill_error_record() 639 page_pfn[i] << AMDGPU_GPU_PAGE_SHIFT, in umc_v12_0_fill_error_record()
|
D | amdgpu_gart.h | 37 #define AMDGPU_GPU_PAGE_SHIFT 12 macro
|
D | gmc_v7_0.c | 564 AMDGPU_GPU_PAGE_SHIFT; in gmc_v7_0_set_prt() 566 (AMDGPU_VA_RESERVED_TOP >> AMDGPU_GPU_PAGE_SHIFT); in gmc_v7_0_set_prt() 1271 ((u64)addr) << AMDGPU_GPU_PAGE_SHIFT, status, AMDGPU_GFXHUB(0)); in gmc_v7_0_process_interrupt()
|
D | gmc_v6_0.c | 433 AMDGPU_GPU_PAGE_SHIFT; in gmc_v6_0_set_prt() 435 (AMDGPU_VA_RESERVED_TOP >> AMDGPU_GPU_PAGE_SHIFT); in gmc_v6_0_set_prt()
|
D | gmc_v9_0.c | 1936 size = (adev->gmc.real_vram_size + SZ_16M) >> AMDGPU_GPU_PAGE_SHIFT; in gmc_v9_0_init_sw_mem_ranges() 1942 ((u64)size << AMDGPU_GPU_PAGE_SHIFT); in gmc_v9_0_init_sw_mem_ranges() 1952 (adev->gmc.real_vram_size >> AMDGPU_GPU_PAGE_SHIFT) - 1; in gmc_v9_0_init_sw_mem_ranges() 1955 ((u64)mem_ranges[l].range.fpfn << AMDGPU_GPU_PAGE_SHIFT); in gmc_v9_0_init_sw_mem_ranges()
|
D | gmc_v8_0.c | 779 AMDGPU_GPU_PAGE_SHIFT; in gmc_v8_0_set_prt() 781 (AMDGPU_VA_RESERVED_TOP >> AMDGPU_GPU_PAGE_SHIFT); in gmc_v8_0_set_prt() 1440 ((u64)addr) << AMDGPU_GPU_PAGE_SHIFT, status, AMDGPU_GFXHUB(0)); in gmc_v8_0_process_interrupt()
|
D | amdgpu_umc.c | 374 err_rec->retired_page = retired_page >> AMDGPU_GPU_PAGE_SHIFT; in amdgpu_umc_fill_error_record()
|
D | amdgpu_virt.c | 386 bp << AMDGPU_GPU_PAGE_SHIFT, in amdgpu_virt_ras_reserve_bps() 390 if (amdgpu_bo_create_kernel_at(adev, bp << AMDGPU_GPU_PAGE_SHIFT, in amdgpu_virt_ras_reserve_bps()
|
D | amdgpu_gmc.c | 1236 AMDGPU_GPU_PAGE_SHIFT; in amdgpu_gmc_get_nps_memranges() 1240 AMDGPU_GPU_PAGE_SHIFT; in amdgpu_gmc_get_nps_memranges()
|
D | amdgpu_vm.h | 170 << AMDGPU_GPU_PAGE_SHIFT) \
|
D | amdgpu_amdkfd.c | 183 << AMDGPU_GPU_PAGE_SHIFT, in amdgpu_amdkfd_device_init()
|
D | amdgpu_vm.c | 1018 num_entries = cursor.size >> AMDGPU_GPU_PAGE_SHIFT; in amdgpu_vm_update_range() 1698 lpfn = (saddr + size - 1) >> AMDGPU_GPU_PAGE_SHIFT; in amdgpu_vm_verify_parameters() 2269 - AMDGPU_GPU_PAGE_SHIFT in amdgpu_vm_adjust_size()
|
D | amdgpu_ras.c | 2505 data->bps[i].retired_page << AMDGPU_GPU_PAGE_SHIFT); in amdgpu_ras_badpages_read() 2683 bps[i].retired_page << AMDGPU_GPU_PAGE_SHIFT)) in amdgpu_ras_add_bad_pages() 2783 addr >>= AMDGPU_GPU_PAGE_SHIFT; in amdgpu_ras_check_bad_page_unlock() 4803 uint64_t start = pfn << AMDGPU_GPU_PAGE_SHIFT; in amdgpu_ras_reserve_page()
|
D | amdgpu_umsch_mm.c | 222 queue_input.process_va_end = (adev->vm_manager.max_pfn - 1) << AMDGPU_GPU_PAGE_SHIFT; in add_test_queue()
|
D | amdgpu_mes.c | 684 (adev->vm_manager.max_pfn - 1) << AMDGPU_GPU_PAGE_SHIFT; in amdgpu_mes_add_hw_queue()
|
D | amdgpu_amdkfd_gpuvm.c | 1638 return avm->pd_phys_addr >> AMDGPU_GPU_PAGE_SHIFT; in amdgpu_amdkfd_gpuvm_get_process_page_dir()
|
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_queue.c | 203 user_addr = (u64)addr >> AMDGPU_GPU_PAGE_SHIFT; in kfd_queue_buffer_get() 204 size = expected_size >> AMDGPU_GPU_PAGE_SHIFT; in kfd_queue_buffer_get() 213 expected_size, mapping->start << AMDGPU_GPU_PAGE_SHIFT, in kfd_queue_buffer_get() 214 (mapping->last - mapping->start + 1) << AMDGPU_GPU_PAGE_SHIFT); in kfd_queue_buffer_get()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm.c | 1390 AMDGPU_GPU_PAGE_SHIFT); in mmhub_read_system_context() 1392 AMDGPU_GPU_PAGE_SHIFT); in mmhub_read_system_context() 1394 AMDGPU_GPU_PAGE_SHIFT); in mmhub_read_system_context() 1396 AMDGPU_GPU_PAGE_SHIFT); in mmhub_read_system_context()
|