summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/lpwr/rppg.c
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2018-05-17 08:04:51 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-05-24 07:37:24 -0400
commita4d1a4830e13caecf5f39f15a716f3bd63f37c34 (patch)
tree476409c163c1bd2942bf15cf2665c85435caaec4 /drivers/gpu/nvgpu/lpwr/rppg.c
parentb65197c26d0bc014297b79f1063d7ba68091ef83 (diff)
gpu: nvgpu: add nvgpu_current_time_ns()
Add an abstraction over a monotonic system clock in nanosecond units. Use ktime_get() for the Linux implementation, similarly to nvgpu_current_time_ms(). Jira NVGPU-708 Change-Id: I3165c20abf2652f1a1fa04e66c04cd34a8fe6dcc Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1723201 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: Sourab Gupta <sourabg@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/lpwr/rppg.c')
0 files changed, 0 insertions, 0 deletions