diff options
author | Xichao Zhao <zhao.xichao@vivo.com> | 2025-08-13 10:54:33 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-08-21 22:57:54 +0300 |
commit | 03cf825911c95f39d77d2a60b35fe5b4a33115b1 (patch) | |
tree | 5fbe0193839c9c0f2f02563a0b94df5643ce4ec6 /drivers/gpu/drm/amd/amdgpu/atom.h | |
parent | c17b750b3ad9f45f2b6f7e6f7f4679844244f0b9 (diff) | |
download | linux-03cf825911c95f39d77d2a60b35fe5b4a33115b1.tar.xz |
powercap: idle_inject: use us_to_ktime() where appropriate
Convert values in microseconds to ktime using us_to_ktime() instead of
multiplying them by NSEC_PER_USEC and using ns_to_ktime() for the
conversion.
Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
Link: https://patch.msgid.link/20250813075433.464786-1-zhao.xichao@vivo.com
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.h')
0 files changed, 0 insertions, 0 deletions