projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e133e73
)
drm/vmwgfx: Don't flush fb if we're in the suspended state.
author
Thomas Hellstrom
<thellstrom@vmware.com>
Tue, 5 Oct 2010 10:43:05 +0000
(12:43 +0200)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 6 Oct 2010 01:29:54 +0000
(11:29 +1000)
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_fb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/vmwgfx/vmwgfx_fb.c
b/drivers/gpu/drm/vmwgfx/vmwgfx_fb.c
index 086ef04902632f7d3a7d653c2c984add5ca9c9d6..b27a9f2887d21f51480b7a3b8530e3436f78deb5 100644
(file)
--- a/
drivers/gpu/drm/vmwgfx/vmwgfx_fb.c
+++ b/
drivers/gpu/drm/vmwgfx/vmwgfx_fb.c
@@
-212,6
+212,9
@@
static void vmw_fb_dirty_flush(struct vmw_fb_par *par)
SVGAFifoCmdUpdate body;
} *cmd;
+ if (vmw_priv->suspended)
+ return;
+
spin_lock_irqsave(&par->dirty.lock, flags);
if (!par->dirty.active) {
spin_unlock_irqrestore(&par->dirty.lock, flags);