Searched refs:log2_max_MBps (Results 1 – 3 of 3) sorted by relevance
255 if (us <= 0 || !adev->mm_stats.log2_max_MBps) in us_to_bytes()261 return us << adev->mm_stats.log2_max_MBps; in us_to_bytes()266 if (!adev->mm_stats.log2_max_MBps) in bytes_to_us()269 return bytes >> adev->mm_stats.log2_max_MBps; in bytes_to_us()301 if (!adev->mm_stats.log2_max_MBps) { in amdgpu_cs_get_threshold_for_moves()
915 u32 log2_max_MBps; member
3810 adev->mm_stats.log2_max_MBps = ilog2(max(1u, max_MBps)); in amdgpu_device_init()