drm/nv50/gr: make sure NEXT_TO_CURRENT is executed even if nothing done
authorBen Skeggs <bskeggs@redhat.com>
Tue, 1 May 2012 06:12:32 +0000 (16:12 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 24 May 2012 06:56:03 +0000 (16:56 +1000)
PFIFO channel kickoff will hang sometimes otherwise.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_grctx.c

index 7ac7e68..881e22b 100644 (file)
@@ -210,7 +210,7 @@ nv50_grctx_generate(struct nouveau_grctx *ctx)
        cp_name(ctx, cp_check_load);
        cp_bra (ctx, AUTO_LOAD, PENDING, cp_setup_auto_load);
        cp_bra (ctx, USER_LOAD, PENDING, cp_setup_load);
-       cp_bra (ctx, ALWAYS, TRUE, cp_exit);
+       cp_bra (ctx, ALWAYS, TRUE, cp_prepare_exit);
 
        /* setup for context load */
        cp_name(ctx, cp_setup_auto_load);