summaryrefslogtreecommitdiffstats
path: root/include/linux/tegra_vgpu.h
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2017-06-20 01:46:47 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-06-20 18:04:30 -0400
commit72726c70b8839fbaf6374b4daa9799501b6b6c50 (patch)
treea181ec0db30d33f014dfc0d6485a32634bc10916 /include/linux/tegra_vgpu.h
parent6c5c860e77af773c165818e2e2b806e46c1cad57 (diff)
gpu: nvgpu: use ktime instead of jiffies in timeouts
Instead of the very coarse jiffies, use the more accurate monotonic Linux ktime API for the nvgpu timeout API. The expiration time is handled as an u64 nanosecond value to hide the ktime_t from the public nvgpu_timeout struct. The conversion is cheap. Jira NVGPU-83 Change-Id: I08a0a67be8935d46f05356162281463d4eb6f4ae Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: http://git-master/r/1505390 Reviewed-by: Alex Waterman <alexw@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/linux/tegra_vgpu.h')
0 files changed, 0 insertions, 0 deletions