summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/fifo_gv11b.h
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2018-09-11 07:35:19 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2019-08-15 03:58:15 -0400
commit8281262187c50be841a83a5b99e2485836922269 (patch)
tree58885b8d2e7f894ecc964fb21c0643245210d383 /drivers/gpu/nvgpu/gv11b/fifo_gv11b.h
parenteca2cf043e3f52734e2fbba68631a2ef70dad76d (diff)
gpu: nvgpu: add usermode_base HAL
Add a HAL function pointer to fifo to for reading the usermode_cfg0 register and implement it for gv11b. Bug 200145225 Bug 200541476 Change-Id: I5f77b15d3b502d9370b1f14129314eaf51a9d7d1 Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1811839 Signed-off-by: Debarshi Dutta <ddutta@nvidia.com> (cherry picked from commit fddb2969240652e1a56089b249684b55430d45c5 in dev-main) Reviewed-on: https://git-master.nvidia.com/r/2170004 GVS: Gerrit_Virtual_Submit Reviewed-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/fifo_gv11b.h')
-rw-r--r--drivers/gpu/nvgpu/gv11b/fifo_gv11b.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.h b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.h
index bc6b0f1c..abbf77a6 100644
--- a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.h
+++ b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.h
@@ -133,4 +133,5 @@ void gv11b_fifo_init_ramfc_eng_method_buffer(struct gk20a *g,
133 struct channel_gk20a *ch, struct nvgpu_mem *mem); 133 struct channel_gk20a *ch, struct nvgpu_mem *mem);
134void gv11b_userd_writeback_config(struct gk20a *g); 134void gv11b_userd_writeback_config(struct gk20a *g);
135void gv11b_ring_channel_doorbell(struct channel_gk20a *c); 135void gv11b_ring_channel_doorbell(struct channel_gk20a *c);
136u64 gv11b_fifo_usermode_base(struct gk20a *g);
136#endif 137#endif