summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Wei Huang <cwhuang@linux.org.tw>2016-03-18 17:21:52 +0800
committerChih-Wei Huang <cwhuang@linux.org.tw>2016-03-18 17:21:52 +0800
commitc04133951d10c4c17c0dfc9b86144b5a5957e17c (patch)
tree67f0cab2b33b5cd74b98d1d4901ca31a556d275b
parent5b5c6bad76f367e3cf76c1106318e38c0269ad0b (diff)
downloadexternal_drm_gralloc-c04133951d10c4c17c0dfc9b86144b5a5957e17c.zip
external_drm_gralloc-c04133951d10c4c17c0dfc9b86144b5a5957e17c.tar.gz
external_drm_gralloc-c04133951d10c4c17c0dfc9b86144b5a5957e17c.tar.bz2
gralloc_drm_pipe: ignore mode_quirk_vmwgfx
Probably we don't need this quirk anymore?
-rw-r--r--gralloc_drm_pipe.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/gralloc_drm_pipe.c b/gralloc_drm_pipe.c
index 7af6fb7..e44293c 100644
--- a/gralloc_drm_pipe.c
+++ b/gralloc_drm_pipe.c
@@ -353,14 +353,8 @@ static void pipe_init_kms_features(struct gralloc_drm_drv_t *drv, struct gralloc
break;
}
- if (strcmp(pm->driver, "vmwgfx") == 0) {
- drm->mode_quirk_vmwgfx = 1;
- drm->swap_mode = DRM_SWAP_COPY;
- }
- else {
- drm->mode_quirk_vmwgfx = 0;
- drm->swap_mode = DRM_SWAP_FLIP;
- }
+ drm->mode_quirk_vmwgfx = 0;
+ drm->swap_mode = DRM_SWAP_FLIP;
drm->mode_sync_flip = 1;
drm->swap_interval = 1;
drm->vblank_secondary = 0;