From f0444184278c356735420f0f88da744bf7adcdf7 Mon Sep 17 00:00:00 2001 From: Konsta Holtta Date: Fri, 19 May 2017 15:25:44 +0300 Subject: 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 Reviewed-on: http://git-master/r/1485919 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gm20b/fifo_gm20b.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/gm20b/fifo_gm20b.c') 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) gops->fifo.setup_userd = gk20a_fifo_setup_userd; gops->fifo.userd_gp_get = gk20a_fifo_userd_gp_get; gops->fifo.userd_gp_put = gk20a_fifo_userd_gp_put; + gops->fifo.userd_pb_get = gk20a_fifo_userd_pb_get; gops->fifo.pbdma_acquire_val = gk20a_fifo_pbdma_acquire_val; gops->fifo.preempt_channel = gk20a_fifo_preempt_channel; -- cgit v1.2.2