From e6edb10656c86bbc8918c63ae99be25c2e343a99 Mon Sep 17 00:00:00 2001 From: Konsta Holtta Date: Thu, 15 Jun 2017 11:15:51 +0300 Subject: gpu: nvgpu: use time API in channel ref action debug Save the time using nvgpu_current_time_ms() instead of the Linux-specific jiffies counter. Jira NVGPU-83 Change-Id: I19b4296d8b64ddf52506144e77d151f668ff7838 Signed-off-by: Konsta Holtta Reviewed-on: http://git-master/r/1503002 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/channel_gk20a.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h index ca042883..8cf00e7c 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h @@ -152,7 +152,7 @@ enum channel_gk20a_ref_action_type { struct channel_gk20a_ref_action { enum channel_gk20a_ref_action_type type; - unsigned long jiffies; + s64 timestamp_ms; /* * Many of these traces will be similar. Simpler to just capture * duplicates than to have a separate database for the entries. -- cgit v1.2.2