Searched refs:AMDGPU_GPU_PAGE_SHIFT (Results 1 – 15 of 15) sorted by relevance
37 #define AMDGPU_GPU_PAGE_SHIFT 12 macro
31 uint64_t addr = adev->vm_manager.max_pfn << AMDGPU_GPU_PAGE_SHIFT; in amdgpu_csa_vaddr()
300 err_rec->retired_page = retired_page >> AMDGPU_GPU_PAGE_SHIFT; in amdgpu_umc_fill_error_record()
437 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()
1952 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()
934 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()
570 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()
155 << AMDGPU_GPU_PAGE_SHIFT, in amdgpu_amdkfd_device_init()
785 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()
2126 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()
105 return AMDGPU_GMC_HOLE_START >> (shift + AMDGPU_GPU_PAGE_SHIFT); in amdgpu_vm_pt_num_ats_entries()
398 if (amdgpu_bo_create_kernel_at(adev, bp << AMDGPU_GPU_PAGE_SHIFT, in amdgpu_virt_ras_reserve_bps()
643 (adev->vm_manager.max_pfn - 1) << AMDGPU_GPU_PAGE_SHIFT; in amdgpu_mes_add_hw_queue()
1558 return avm->pd_phys_addr >> AMDGPU_GPU_PAGE_SHIFT; in amdgpu_amdkfd_gpuvm_get_process_page_dir()
1281 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()