Searched refs:bytes_to_us (Results 1 – 1 of 1) sorted by relevance
657 static s64 bytes_to_us(struct amdgpu_device *adev, u64 bytes) in bytes_to_us() function731 min_us = bytes_to_us(adev, free_vram / 4); in amdgpu_cs_get_threshold_for_moves()757 max(bytes_to_us(adev, free_vis_vram / 2), in amdgpu_cs_get_threshold_for_moves()777 adev->mm_stats.accum_us -= bytes_to_us(adev, num_bytes); in amdgpu_cs_report_moved_bytes()778 adev->mm_stats.accum_us_vis -= bytes_to_us(adev, num_vis_bytes); in amdgpu_cs_report_moved_bytes()