drm/vmwgfx: Unpause overlay on update.
authorJakob Bornecrantz <jakob@vmware.com>
Fri, 28 May 2010 09:22:04 +0000 (11:22 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 31 May 2010 23:37:47 +0000 (09:37 +1000)
The unpause codepath uses vmw_overlay_update() so we must
unset the paused status.

Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c

index ad566c8..df2036e 100644 (file)
@@ -358,6 +358,8 @@ static int vmw_overlay_update_stream(struct vmw_private *dev_priv,
        if (stream->buf != buf)
                stream->buf = vmw_dmabuf_reference(buf);
        stream->saved = *arg;
+       /* stream is no longer stopped/paused */
+       stream->paused = false;
 
        return 0;
 }