summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2017-06-15 04:15:51 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-06-19 11:35:11 -0400
commite6edb10656c86bbc8918c63ae99be25c2e343a99 (patch)
tree270cf200cac997b39ff52b14b7c367607a8487f5 /drivers/gpu/nvgpu/gk20a/channel_gk20a.h
parent571c7c2fb37176671d55f004df4ed1055f7e8cb1 (diff)
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 <kholtta@nvidia.com> Reviewed-on: http://git-master/r/1503002 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_gk20a.h2
1 files changed, 1 insertions, 1 deletions
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 {
152 152
153struct channel_gk20a_ref_action { 153struct channel_gk20a_ref_action {
154 enum channel_gk20a_ref_action_type type; 154 enum channel_gk20a_ref_action_type type;
155 unsigned long jiffies; 155 s64 timestamp_ms;
156 /* 156 /*
157 * Many of these traces will be similar. Simpler to just capture 157 * Many of these traces will be similar. Simpler to just capture
158 * duplicates than to have a separate database for the entries. 158 * duplicates than to have a separate database for the entries.