summaryrefslogtreecommitdiffstats
path: root/gralloc_drm_priv.h
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2011-08-24 14:07:06 +0800
committerChia-I Wu <olvaffe@gmail.com>2011-08-24 14:52:40 +0800
commitdb29afe66e49efc4f28016154ca46541fd640359 (patch)
tree9032f4a3403eb39acc588aa550be0c8a1a2df028 /gralloc_drm_priv.h
parent64591d8f71b902b32d07122e91a1e1a3129dab61 (diff)
downloadexternal_drm_gralloc-db29afe66e49efc4f28016154ca46541fd640359.zip
external_drm_gralloc-db29afe66e49efc4f28016154ca46541fd640359.tar.gz
external_drm_gralloc-db29afe66e49efc4f28016154ca46541fd640359.tar.bz2
vmwgfx: assorted fixes
Based on trial and error, we know - drm_kms_wait_for_post() hangs the VM - drmModeDirtyFB() should be called whenever the front buffer changes - drmModePageFlip() is not supported They might not be entirely correct, but fixing them makes drm_gralloc work.
Diffstat (limited to 'gralloc_drm_priv.h')
-rw-r--r--gralloc_drm_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gralloc_drm_priv.h b/gralloc_drm_priv.h
index ada152d..1da3e4a 100644
--- a/gralloc_drm_priv.h
+++ b/gralloc_drm_priv.h
@@ -56,7 +56,7 @@ struct gralloc_drm_t {
int fb_format;
enum drm_swap_mode swap_mode;
int swap_interval;
- int mode_dirty_fb;
+ int mode_quirk_vmwgfx;
int mode_sync_flip; /* page flip should block */
int vblank_secondary;