drm/nouveau/gr/gf100-: insert some WFIs during gr init
authorBen Skeggs <bskeggs@redhat.com>
Wed, 16 May 2018 02:07:32 +0000 (12:07 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 18 May 2018 07:09:35 +0000 (17:09 +1000)
commit6c46d01f25bcf74608d09645c27c35c3f3940ebe
tree83d1a7fc3342b204f41963d2b0a92a20d0d55155
parentdd3b89be3eafd1c9977e350e81c5556230319101
drm/nouveau/gr/gf100-: insert some WFIs during gr init

Inserted wait-for-gr-idle in the places it seems that RM does it, seems
to prevent some random mmio timeouts on Quadro GV100.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c