Searched refs:log2_max_MBps (Results 1 – 3 of 3) sorted by relevance
663 if (us <= 0 || !adev->mm_stats.log2_max_MBps) in us_to_bytes()669 return us << adev->mm_stats.log2_max_MBps; in us_to_bytes()674 if (!adev->mm_stats.log2_max_MBps) in bytes_to_us()677 return bytes >> adev->mm_stats.log2_max_MBps; in bytes_to_us()708 if ((!adev->mm_stats.log2_max_MBps) || !ttm_resource_manager_used(&adev->mman.vram_mgr.manager)) { in amdgpu_cs_get_threshold_for_moves()
974 u32 log2_max_MBps; member
4759 adev->mm_stats.log2_max_MBps = ilog2(max(1u, max_MBps)); in amdgpu_device_init()