aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvkm/subdev/bar/gk20a.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2017-11-01 03:56:19 +1000
committerBen Skeggs <bskeggs@redhat.com>2017-11-02 13:32:18 +1000
commit570889dc5070e1f98b5898dce426f970c9b9329b (patch)
treecff8225ca70a67ad05df6690cd587e5795d9b6ba /drivers/gpu/drm/nouveau/nvkm/subdev/bar/gk20a.c
parentdrm/nouveau/bar: expose interface to bar2 teardown (diff)
downloadlinux-dev-570889dc5070e1f98b5898dce426f970c9b9329b.tar.xz
linux-dev-570889dc5070e1f98b5898dce426f970c9b9329b.zip
drm/nouveau/bar: modify interface to bar1 vmm mapping
Upcoming changes will remove the nvkm_vmm pointer from nvkm_vma, instead requiring it to be explicitly specified on each operation. It's not currently possible to get this information for BAR1 mappings, so let's fix that ahead of time. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/subdev/bar/gk20a.c')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/subdev/bar/gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/bar/gk20a.c b/drivers/gpu/drm/nouveau/nvkm/subdev/bar/gk20a.c
index ab4664b4b2b2..b10077d38839 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/bar/gk20a.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/bar/gk20a.c
@@ -28,7 +28,7 @@ gk20a_bar_func = {
.bar1.init = gf100_bar_bar1_init,
.bar1.fini = gf100_bar_bar1_fini,
.bar1.wait = gf100_bar_bar1_wait,
- .umap = gf100_bar_umap,
+ .bar1.vmm = gf100_bar_bar1_vmm,
.flush = g84_bar_flush,
};