From a795629e8c9d7a7f444f8ce655eb9e24dce51429 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Mon, 10 Jul 2017 16:07:15 -0500 Subject: [PATCH] ecore_evas_drm: Refuse to start a ticker for a manually rendered canvas With atomic mode setting this has the hilarious side effect of waking up the display from dpms. Attempting to tick when manual render is set is likely a bug, so log an ERR. fix T5462 --- src/modules/ecore_evas/engines/drm/ecore_evas_drm.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c index de8d880..6c1e01c 100644 --- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c +++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c @@ -652,6 +652,12 @@ _drm_animator_register(Ecore_Evas *ee) { Ecore_Evas_Engine_Drm_Data *edata; + if (ee->manual_render) + { + ERR("Attempt to schedule tick for manually rendered canvas"); + return; + } + edata = ee->engine.data; edata->ticking = EINA_TRUE; if (!edata->pending && !ee->in_async_render) -- 2.7.4