Searched refs:log2_max_MBps (Results 1 – 3 of 3) sorted by relevance
630 if (us <= 0 || !adev->mm_stats.log2_max_MBps) in us_to_bytes()636 return us << adev->mm_stats.log2_max_MBps; in us_to_bytes()641 if (!adev->mm_stats.log2_max_MBps) in bytes_to_us()644 return bytes >> adev->mm_stats.log2_max_MBps; in bytes_to_us()675 if (!adev->mm_stats.log2_max_MBps) { in amdgpu_cs_get_threshold_for_moves()
865 u32 log2_max_MBps; member
3843 adev->mm_stats.log2_max_MBps = ilog2(max(1u, max_MBps)); in amdgpu_device_init()