summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
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/gk20a/gk20a.h
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/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 4e1c4ff4..ce26125d 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -456,6 +456,7 @@ struct gpu_ops {
456 int (*preempt_ch_tsg)(struct gk20a *g, u32 id, 456 int (*preempt_ch_tsg)(struct gk20a *g, u32 id,
457 unsigned int id_type, unsigned int timeout_rc_type); 457 unsigned int id_type, unsigned int timeout_rc_type);
458 void (*init_pbdma_intr_descs)(struct fifo_gk20a *f); 458 void (*init_pbdma_intr_descs)(struct fifo_gk20a *f);
459 int (*reset_enable_hw)(struct gk20a *g);
459 } fifo; 460 } fifo;
460 struct pmu_v { 461 struct pmu_v {
461 /*used for change of enum zbc update cmd id from ver 0 to ver1*/ 462 /*used for change of enum zbc update cmd id from ver 0 to ver1*/