summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv100/fb_gv100.h
diff options
context:
space:
mode:
authorThomas Fleury <tfleury@nvidia.com>2018-01-26 20:56:55 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-02-26 00:48:28 -0500
commit180604fec0bde1710923e78a3877d49892cbf883 (patch)
treec5d5942600d9310da86fc12df12a75dda314e153 /drivers/gpu/nvgpu/gv100/fb_gv100.h
parent0601fd25a5e01d0da638efef13c58b64f198bafb (diff)
gpu: nvgpu: gv100: fb hal to init and enable nvlink
Add the following hals: (1) init_nvlink to configure nvlink(s) for sysmem in HSHUB (2) enable_nvlink to switch from PCIe sysmem to nvlink sysmem, and setup atomics. Change-Id: I73d2370aaf8e0530158a1091d9efef4a8cf2aac5 Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1648044 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv100/fb_gv100.h')
-rw-r--r--drivers/gpu/nvgpu/gv100/fb_gv100.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv100/fb_gv100.h b/drivers/gpu/nvgpu/gv100/fb_gv100.h
index b6db262a..5b99fe5e 100644
--- a/drivers/gpu/nvgpu/gv100/fb_gv100.h
+++ b/drivers/gpu/nvgpu/gv100/fb_gv100.h
@@ -29,4 +29,6 @@ struct gk20a;
29 29
30void gv100_fb_reset(struct gk20a *g); 30void gv100_fb_reset(struct gk20a *g);
31int gv100_fb_memory_unlock(struct gk20a *g); 31int gv100_fb_memory_unlock(struct gk20a *g);
32int gv100_fb_init_nvlink(struct gk20a *g);
33int gv100_fb_enable_nvlink(struct gk20a *g);
32#endif 34#endif