Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gart.h37 #define AMDGPU_GPU_PAGE_SHIFT 12 macro
Damdgpu_csa.c31 uint64_t addr = adev->vm_manager.max_pfn << AMDGPU_GPU_PAGE_SHIFT; in amdgpu_csa_vaddr()
Damdgpu_umc.c300 err_rec->retired_page = retired_page >> AMDGPU_GPU_PAGE_SHIFT; in amdgpu_umc_fill_error_record()
Dgmc_v6_0.c437 uint32_t low = AMDGPU_VA_RESERVED_SIZE >> AMDGPU_GPU_PAGE_SHIFT; in gmc_v6_0_set_prt()
439 (AMDGPU_VA_RESERVED_SIZE >> AMDGPU_GPU_PAGE_SHIFT); in gmc_v6_0_set_prt()
Dgmc_v9_0.c1952 size = adev->gmc.real_vram_size >> AMDGPU_GPU_PAGE_SHIFT; in gmc_v9_0_init_sw_mem_ranges()
1957 mem_ranges[i].size = ((u64)size << AMDGPU_GPU_PAGE_SHIFT); in gmc_v9_0_init_sw_mem_ranges()
1964 (adev->gmc.real_vram_size >> AMDGPU_GPU_PAGE_SHIFT) - 1; in gmc_v9_0_init_sw_mem_ranges()
1968 << AMDGPU_GPU_PAGE_SHIFT); in gmc_v9_0_init_sw_mem_ranges()
Damdgpu_vm.c934 num_entries = cursor.size >> AMDGPU_GPU_PAGE_SHIFT; in amdgpu_vm_update_range()
1539 (eaddr >= adev->vm_manager.max_pfn << AMDGPU_GPU_PAGE_SHIFT)) in amdgpu_vm_bo_map()
1605 (eaddr >= adev->vm_manager.max_pfn << AMDGPU_GPU_PAGE_SHIFT)) in amdgpu_vm_bo_replace_map()
2082 - AMDGPU_GPU_PAGE_SHIFT in amdgpu_vm_adjust_size()
Dgmc_v7_0.c570 uint32_t low = AMDGPU_VA_RESERVED_SIZE >> AMDGPU_GPU_PAGE_SHIFT; in gmc_v7_0_set_prt()
572 (AMDGPU_VA_RESERVED_SIZE >> AMDGPU_GPU_PAGE_SHIFT); in gmc_v7_0_set_prt()
Damdgpu_amdkfd.c155 << AMDGPU_GPU_PAGE_SHIFT, in amdgpu_amdkfd_device_init()
Dgmc_v8_0.c785 uint32_t low = AMDGPU_VA_RESERVED_SIZE >> AMDGPU_GPU_PAGE_SHIFT; in gmc_v8_0_set_prt()
787 (AMDGPU_VA_RESERVED_SIZE >> AMDGPU_GPU_PAGE_SHIFT); in gmc_v8_0_set_prt()
Damdgpu_ras.c2126 bps[i].retired_page << AMDGPU_GPU_PAGE_SHIFT)) in amdgpu_ras_add_bad_pages()
2136 bps[i].retired_page << AMDGPU_GPU_PAGE_SHIFT, in amdgpu_ras_add_bad_pages()
2228 addr >>= AMDGPU_GPU_PAGE_SHIFT; in amdgpu_ras_check_bad_page_unlock()
Damdgpu_vm_pt.c105 return AMDGPU_GMC_HOLE_START >> (shift + AMDGPU_GPU_PAGE_SHIFT); in amdgpu_vm_pt_num_ats_entries()
Damdgpu_virt.c398 if (amdgpu_bo_create_kernel_at(adev, bp << AMDGPU_GPU_PAGE_SHIFT, in amdgpu_virt_ras_reserve_bps()
Damdgpu_mes.c643 (adev->vm_manager.max_pfn - 1) << AMDGPU_GPU_PAGE_SHIFT; in amdgpu_mes_add_hw_queue()
Damdgpu_amdkfd_gpuvm.c1558 return avm->pd_phys_addr >> AMDGPU_GPU_PAGE_SHIFT; in amdgpu_amdkfd_gpuvm_get_process_page_dir()
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c1281 AMDGPU_GPU_PAGE_SHIFT); in mmhub_read_system_context()
1283 AMDGPU_GPU_PAGE_SHIFT); in mmhub_read_system_context()
1285 AMDGPU_GPU_PAGE_SHIFT); in mmhub_read_system_context()
1287 AMDGPU_GPU_PAGE_SHIFT); in mmhub_read_system_context()