summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/os
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/os')
-rw-r--r--drivers/gpu/nvgpu/os/linux/vgpu/vgpu_linux.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/vgpu/vgpu_linux.c b/drivers/gpu/nvgpu/os/linux/vgpu/vgpu_linux.c
index aa2fa998..91e94696 100644
--- a/drivers/gpu/nvgpu/os/linux/vgpu/vgpu_linux.c
+++ b/drivers/gpu/nvgpu/os/linux/vgpu/vgpu_linux.c
@@ -58,16 +58,7 @@ struct vgpu_priv_data *vgpu_get_priv_data(struct gk20a *g)
58 58
59static void vgpu_remove_support(struct gk20a *g) 59static void vgpu_remove_support(struct gk20a *g)
60{ 60{
61 struct nvgpu_os_linux *l = nvgpu_os_linux_from_gk20a(g);
62
63 vgpu_remove_support_common(g); 61 vgpu_remove_support_common(g);
64
65 /* free mappings to registers, etc*/
66
67 if (l->bar1) {
68 iounmap(l->bar1);
69 l->bar1 = NULL;
70 }
71} 62}
72 63
73static void vgpu_init_vars(struct gk20a *g, struct gk20a_platform *platform) 64static void vgpu_init_vars(struct gk20a *g, struct gk20a_platform *platform)