summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2017-05-19 08:25:44 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-05-24 15:14:19 -0400
commitf0444184278c356735420f0f88da744bf7adcdf7 (patch)
tree40d38508ae7593f45866c938079dfa0c0b5ae7bc /drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
parentb70bad4b9f40e94f731fd9d509e1f3f6617f0b05 (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/gm20b/fifo_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/fifo_gm20b.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c b/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
index 513f250d..0931d226 100644
--- a/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
@@ -199,6 +199,7 @@ void gm20b_init_fifo(struct gpu_ops *gops)
199 gops->fifo.setup_userd = gk20a_fifo_setup_userd; 199 gops->fifo.setup_userd = gk20a_fifo_setup_userd;
200 gops->fifo.userd_gp_get = gk20a_fifo_userd_gp_get; 200 gops->fifo.userd_gp_get = gk20a_fifo_userd_gp_get;
201 gops->fifo.userd_gp_put = gk20a_fifo_userd_gp_put; 201 gops->fifo.userd_gp_put = gk20a_fifo_userd_gp_put;
202 gops->fifo.userd_pb_get = gk20a_fifo_userd_pb_get;
202 gops->fifo.pbdma_acquire_val = gk20a_fifo_pbdma_acquire_val; 203 gops->fifo.pbdma_acquire_val = gk20a_fifo_pbdma_acquire_val;
203 204
204 gops->fifo.preempt_channel = gk20a_fifo_preempt_channel; 205 gops->fifo.preempt_channel = gk20a_fifo_preempt_channel;