From 180604fec0bde1710923e78a3877d49892cbf883 Mon Sep 17 00:00:00 2001 From: Thomas Fleury Date: Fri, 26 Jan 2018 17:56:55 -0800 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1648044 Reviewed-by: svc-mobile-coverity GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gv100/fb_gv100.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/gpu/nvgpu/gv100/fb_gv100.h') 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; void gv100_fb_reset(struct gk20a *g); int gv100_fb_memory_unlock(struct gk20a *g); +int gv100_fb_init_nvlink(struct gk20a *g); +int gv100_fb_enable_nvlink(struct gk20a *g); #endif -- cgit v1.2.2