summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/include/nvkm/subdev/bar.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2017-10-31 18:56:19 +0100
committerBen Skeggs <bskeggs@redhat.com>2017-11-02 04:32:18 +0100
commit70433b904a8b6865558ae33cadd8bb85c0d98e12 (patch)
tree8d2a55ecdcf93b26127625f38bc1740c69e1f045 /drivers/gpu/drm/nouveau/include/nvkm/subdev/bar.h
parentdrm/nouveau/bar: initialise bar2 during oneinit (diff)
downloadlinux-70433b904a8b6865558ae33cadd8bb85c0d98e12.tar.xz
linux-70433b904a8b6865558ae33cadd8bb85c0d98e12.zip
drm/nouveau/bar/gm107-: wait for instance block binding to complete
Discovered by accident while working to use BAR2 access to instmem objects on more paths. We've apparently been relying on luck up until now! Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvkm/subdev/bar.h')
-rw-r--r--drivers/gpu/drm/nouveau/include/nvkm/subdev/bar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvkm/subdev/bar.h b/drivers/gpu/drm/nouveau/include/nvkm/subdev/bar.h
index 75ef15cd8b41..ffa963939e15 100644
--- a/drivers/gpu/drm/nouveau/include/nvkm/subdev/bar.h
+++ b/drivers/gpu/drm/nouveau/include/nvkm/subdev/bar.h
@@ -24,4 +24,6 @@ int nv50_bar_new(struct nvkm_device *, int, struct nvkm_bar **);
int g84_bar_new(struct nvkm_device *, int, struct nvkm_bar **);
int gf100_bar_new(struct nvkm_device *, int, struct nvkm_bar **);
int gk20a_bar_new(struct nvkm_device *, int, struct nvkm_bar **);
+int gm107_bar_new(struct nvkm_device *, int, struct nvkm_bar **);
+int gm20b_bar_new(struct nvkm_device *, int, struct nvkm_bar **);
#endif