summaryrefslogtreecommitdiffstats
path: root/gralloc_drm_pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'gralloc_drm_pipe.c')
-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;