Revert "compositor-drm: Enable asynchrounous swap in libGBM"
This reverts commit 17e7e40d69177959d498ad35115bdbfc9fa7a2d7.
Change-Id: Ia91bd098aa7bf92cfe54a57cd9a9c2327c662c79
diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c
index f27a3ea..d170211 100644
--- a/libweston/compositor-drm.c
+++ b/libweston/compositor-drm.c
@@ -144,7 +144,6 @@
WDRM_PLANE_FB_ID,
WDRM_PLANE_CRTC_ID,
WDRM_PLANE_IN_FORMATS,
- WDRM_PLANE_IN_FENCE_FD,
WDRM_PLANE_DTRC_META,
WDRM_PLANE__COUNT
};
@@ -188,7 +187,6 @@
[WDRM_PLANE_FB_ID] = { .name = "FB_ID", },
[WDRM_PLANE_CRTC_ID] = { .name = "CRTC_ID", },
[WDRM_PLANE_IN_FORMATS] = { .name = "IN_FORMATS" },
- [WDRM_PLANE_IN_FENCE_FD] = { .name = "IN_FENCE_FD" },
[WDRM_PLANE_DTRC_META] = { .name = "dtrc_table_ofs" },
};
@@ -2595,10 +2593,7 @@
struct drm_mode *current_mode = to_drm_mode(output->base.current_mode);
struct drm_head *head;
int ret = 0;
- int in_fence_fd = -1;
- if(output->gbm_surface)
- in_fence_fd = gbm_surface_get_in_fence_fd(output->gbm_surface);
if (state->dpms != output->state_cur->dpms)
*flags |= DRM_MODE_ATOMIC_ALLOW_MODESET;
@@ -2664,8 +2659,6 @@
plane_state->dest_w);
ret |= plane_add_prop(req, plane, WDRM_PLANE_CRTC_H,
plane_state->dest_h);
- if (in_fence_fd > 0)
- ret |= plane_add_prop(req, plane, WDRM_PLANE_IN_FENCE_FD, in_fence_fd);
if (plane_state->fb && plane_state->fb->dtrc_meta != plane->dtrc_meta
&& plane->type == WDRM_PLANE_TYPE_OVERLAY