diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2017-05-19 08:25:44 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-05-24 15:14:19 -0400 |
commit | f0444184278c356735420f0f88da744bf7adcdf7 (patch) | |
tree | 40d38508ae7593f45866c938079dfa0c0b5ae7bc /drivers/gpu/nvgpu/gk20a/channel_gk20a.h | |
parent | b70bad4b9f40e94f731fd9d509e1f3f6617f0b05 (diff) |
gpu: nvgpu: Track also pushbuf get for watchdog
Make the watchdog notice also fine-grained changes within a single
pushbuffer - by tracking just the gpfifo get, the watchdog could wake
when the channel hasn't really been stuck but processing a relatively
large or slow pushbuf.
Jira NVGPU-72
Change-Id: I15374eea5d9abc9d3725a79d0b960503237e478c
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/1485919
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h index d3ab9b27..4bca4edb 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h | |||
@@ -104,6 +104,7 @@ struct channel_gk20a_timeout { | |||
104 | struct nvgpu_timeout timer; | 104 | struct nvgpu_timeout timer; |
105 | bool running; | 105 | bool running; |
106 | u32 gp_get; | 106 | u32 gp_get; |
107 | u64 pb_get; | ||
107 | }; | 108 | }; |
108 | 109 | ||
109 | struct gk20a_event_id_data { | 110 | struct gk20a_event_id_data { |