summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/clk/clk_arb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/clk/clk_arb.c')
-rw-r--r--drivers/gpu/nvgpu/clk/clk_arb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/clk/clk_arb.c b/drivers/gpu/nvgpu/clk/clk_arb.c
index 8b499b16..456246bf 100644
--- a/drivers/gpu/nvgpu/clk/clk_arb.c
+++ b/drivers/gpu/nvgpu/clk/clk_arb.c
@@ -70,7 +70,7 @@ static void nvgpu_clk_arb_queue_notification(struct gk20a *g,
70 70
71 queue_index = (nvgpu_atomic_inc_return(&queue->tail)) % queue->size; 71 queue_index = (nvgpu_atomic_inc_return(&queue->tail)) % queue->size;
72 /* get current timestamp */ 72 /* get current timestamp */
73 timestamp = (u64) sched_clock(); 73 timestamp = (u64) nvgpu_hr_timestamp();
74 74
75 queue->notifications[queue_index].timestamp = timestamp; 75 queue->notifications[queue_index].timestamp = timestamp;
76 queue->notifications[queue_index].notification = alarm_mask; 76 queue->notifications[queue_index].notification = alarm_mask;