drm/nv50-/kms: wait for enough ring space in crtc_prepare()
authorBen Skeggs <bskeggs@redhat.com>
Mon, 19 May 2014 04:54:33 +0000 (14:54 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 10 Jun 2014 06:05:52 +0000 (16:05 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_display.c

index 79f6dc724a85f749c66ee1411a2aac7c00daf644..3c58854aff03832a539586f7985b79b2f8f9327a 100644 (file)
@@ -1,4 +1,4 @@
-       /*
+/*
  * Copyright 2011 Red Hat Inc.
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
@@ -957,7 +957,7 @@ nv50_crtc_prepare(struct drm_crtc *crtc)
 
        nv50_display_flip_stop(crtc);
 
-       push = evo_wait(mast, 2);
+       push = evo_wait(mast, 6);
        if (push) {
                if (nv50_vers(mast) < NV84_DISP_MAST_CLASS) {
                        evo_mthd(push, 0x0874 + (nv_crtc->index * 0x400), 1);