Home
last modified time | relevance | path

Searched refs:AMDGPU_GPU_PAGE_SHIFT (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dumc_v12_0.c285 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()
Damdgpu_gart.h37 #define AMDGPU_GPU_PAGE_SHIFT 12 macro
Dgmc_v7_0.c564 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()
Dgmc_v6_0.c433 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()
Dgmc_v9_0.c1936 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()
Dgmc_v8_0.c779 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()
Damdgpu_umc.c374 err_rec->retired_page = retired_page >> AMDGPU_GPU_PAGE_SHIFT; in amdgpu_umc_fill_error_record()
Damdgpu_virt.c386 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()
Damdgpu_gmc.c1236 AMDGPU_GPU_PAGE_SHIFT; in amdgpu_gmc_get_nps_memranges()
1240 AMDGPU_GPU_PAGE_SHIFT; in amdgpu_gmc_get_nps_memranges()
Damdgpu_vm.h170 << AMDGPU_GPU_PAGE_SHIFT) \
Damdgpu_amdkfd.c183 << AMDGPU_GPU_PAGE_SHIFT, in amdgpu_amdkfd_device_init()
Damdgpu_vm.c1018 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()
Damdgpu_ras.c2505 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()
Damdgpu_umsch_mm.c222 queue_input.process_va_end = (adev->vm_manager.max_pfn - 1) << AMDGPU_GPU_PAGE_SHIFT; in add_test_queue()
Damdgpu_mes.c684 (adev->vm_manager.max_pfn - 1) << AMDGPU_GPU_PAGE_SHIFT; in amdgpu_mes_add_hw_queue()
Damdgpu_amdkfd_gpuvm.c1638 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/
Dkfd_queue.c203 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/
Damdgpu_dm.c1390 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()