drm/nouveau/bar/gm107-: wait for instance block binding to complete
authorBen Skeggs <bskeggs@redhat.com>
Tue, 31 Oct 2017 17:56:19 +0000 (03:56 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 2 Nov 2017 03:32:18 +0000 (13:32 +1000)
commit70433b904a8b6865558ae33cadd8bb85c0d98e12
tree8d2a55ecdcf93b26127625f38bc1740c69e1f045
parent8e644cb29c33dcd2fb718d78d8c33d4eb88cf6f7
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>
drivers/gpu/drm/nouveau/include/nvkm/subdev/bar.h
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
drivers/gpu/drm/nouveau/nvkm/subdev/bar/Kbuild
drivers/gpu/drm/nouveau/nvkm/subdev/bar/gm107.c [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvkm/subdev/bar/gm20b.c [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvkm/subdev/bar/priv.h