drm/nouveau/gr/gf100-: wfi after register-bashing golden init
authorBen Skeggs <bskeggs@redhat.com>
Wed, 1 Jun 2022 10:48:10 +0000 (20:48 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 9 Nov 2022 00:45:11 +0000 (10:45 +1000)
Match RM.

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

index 9795896763610bf9214804ababf5cfdb6cda36b6..edd4b867a1e22c7458a88b037b2e21b4baff7548 100644 (file)
@@ -1410,6 +1410,8 @@ gf100_grctx_generate_main(struct gf100_gr_chan *chan)
                grctx->r408840(gr);
        if (grctx->r419c0c)
                grctx->r419c0c(gr);
+
+       gf100_gr_wait_idle(gr);
 }
 
 #define CB_RESERVED 0x80000