summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore_drm/ecore_drm_device.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_device.c b/src/lib/ecore_drm/ecore_drm_device.c
index bc28205c99..81636c65e7 100644
--- a/src/lib/ecore_drm/ecore_drm_device.c
+++ b/src/lib/ecore_drm/ecore_drm_device.c
@@ -281,6 +281,10 @@ ecore_drm_device_open(Ecore_Drm_Device *dev)
281 281
282 DBG("Opened Device %s : %d", dev->drm.name, dev->drm.fd); 282 DBG("Opened Device %s : %d", dev->drm.name, dev->drm.fd);
283 283
284 /* set client capabilities to 'universal planes' so drm core will expose
285 * the full universal plane list (including primary & cursor planes) */
286 drmSetClientCap(dev->drm.fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1);
287
284 if (!drmGetCap(dev->drm.fd, DRM_CAP_TIMESTAMP_MONOTONIC, &caps)) 288 if (!drmGetCap(dev->drm.fd, DRM_CAP_TIMESTAMP_MONOTONIC, &caps))
285 { 289 {
286 if (caps == 1) 290 if (caps == 1)