vmwgfx: Don't call xa_copy_done after a present.
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 20 Jun 2011 19:48:23 +0000 (21:48 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 22 Jun 2011 20:34:59 +0000 (22:34 +0200)
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
vmwgfx/vmwgfx_saa.c

index f095b9f..83b1698 100644 (file)
@@ -974,6 +974,7 @@ vmwgfx_copy_done(struct saa_driver *driver)
 
     if (vsaa->present_copy) {
        vmwgfx_present_done(vsaa);
+       return;
     }
     xa_copy_done(vsaa->xa_ctx);
 }