summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
diff options
context:
space:
mode:
authorSeema Khowala <seemaj@nvidia.com>2017-03-21 12:57:25 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-03-28 12:39:13 -0400
commite1c4d19b4cd2462c2f5b8c6653573ea0e6bbe823 (patch)
tree35b1e66c18468d7542be0e40437a6b228b6c8c9e /drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
parentc363253c4575b59466e9390943c6b8b5ccfd068f (diff)
gpu: nvgpu: add and reorg reset_enable_hw fifo ops
fifo reset_enable_hw is reorged to clear and enable pbdma/fifo interrupts after all the required configuration such as configuring timeouts, enabling timeout detections are taken care of. JIRA GPUT19X-74 JIRA GPUT19X-47 Change-Id: Id780cc11d858db18f8d748c037954ede73298506 Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: http://git-master/r/1325351 Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@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 5a0bd39e..f09da825 100644
--- a/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
@@ -223,4 +223,5 @@ void gm20b_init_fifo(struct gpu_ops *gops)
223 gops->fifo.intr_0_error_mask = gk20a_fifo_intr_0_error_mask; 223 gops->fifo.intr_0_error_mask = gk20a_fifo_intr_0_error_mask;
224 gops->fifo.is_preempt_pending = gk20a_fifo_is_preempt_pending; 224 gops->fifo.is_preempt_pending = gk20a_fifo_is_preempt_pending;
225 gops->fifo.init_pbdma_intr_descs = gm20b_fifo_init_pbdma_intr_descs; 225 gops->fifo.init_pbdma_intr_descs = gm20b_fifo_init_pbdma_intr_descs;
226 gops->fifo.reset_enable_hw = gk20a_init_fifo_reset_enable_hw;
226} 227}