Home
last modified time | relevance | path

Searched refs:accum_us (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_cs.c259 /* Since accum_us is incremented by a million per second, just in us_to_bytes()
318 adev->mm_stats.accum_us = min(adev->mm_stats.accum_us + increment_us, in amdgpu_cs_get_threshold_for_moves()
331 * accum_us to a positive number. in amdgpu_cs_get_threshold_for_moves()
342 min_us = 0; /* Reset accum_us on APUs. */ in amdgpu_cs_get_threshold_for_moves()
344 adev->mm_stats.accum_us = max(min_us, adev->mm_stats.accum_us); in amdgpu_cs_get_threshold_for_moves()
350 *max_bytes = us_to_bytes(adev, adev->mm_stats.accum_us); in amdgpu_cs_get_threshold_for_moves()
385 adev->mm_stats.accum_us -= bytes_to_us(adev, num_bytes); in amdgpu_cs_report_moved_bytes()
H A Damdgpu.h842 s64 accum_us; /* accumulated microseconds */ member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_cs.c647 /* Since accum_us is incremented by a million per second, just in us_to_bytes()
705 adev->mm_stats.accum_us = min(adev->mm_stats.accum_us + increment_us, in amdgpu_cs_get_threshold_for_moves()
718 * accum_us to a positive number. in amdgpu_cs_get_threshold_for_moves()
729 min_us = 0; /* Reset accum_us on APUs. */ in amdgpu_cs_get_threshold_for_moves()
731 adev->mm_stats.accum_us = max(min_us, adev->mm_stats.accum_us); in amdgpu_cs_get_threshold_for_moves()
737 *max_bytes = us_to_bytes(adev, adev->mm_stats.accum_us); in amdgpu_cs_get_threshold_for_moves()
773 adev->mm_stats.accum_us -= bytes_to_us(adev, num_bytes); in amdgpu_cs_report_moved_bytes()
H A Damdgpu.h876 s64 accum_us; /* accumulated microseconds */ member

Completed in 10 milliseconds