summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2010-05-28 11:22:04 +0200
committerDave Airlie <airlied@redhat.com>2010-06-01 01:37:47 +0200
commit792778e8e058471e1909b78d7c5e6ab94962ff8e (patch)
tree00dcdf9f2e550f2beb7638485ff55219d6cc0db6 /drivers/gpu/drm/vmwgfx
parentdrm/vmwgfx: Some modesetting cleanups and fixes. (diff)
downloadlinux-792778e8e058471e1909b78d7c5e6ab94962ff8e.tar.xz
linux-792778e8e058471e1909b78d7c5e6ab94962ff8e.zip
drm/vmwgfx: Unpause overlay on update.
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>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx')
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c b/drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c
index ad566c85b075..df2036ed18d5 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c
@@ -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;
}