summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-07-10 16:07:15 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-07-10 16:25:59 -0500
commita795629e8c9d7a7f444f8ce655eb9e24dce51429 (patch)
tree1d80de87944972b805952ccf709991124bc27878 /src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
parentcae1927554eb0d92dcbf7d3478c6eda494593eb9 (diff)
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
Diffstat (limited to '')
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c6
1 files changed, 6 insertions, 0 deletions
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 de8d880964..6c1e01c129 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)
652{ 652{
653 Ecore_Evas_Engine_Drm_Data *edata; 653 Ecore_Evas_Engine_Drm_Data *edata;
654 654
655 if (ee->manual_render)
656 {
657 ERR("Attempt to schedule tick for manually rendered canvas");
658 return;
659 }
660
655 edata = ee->engine.data; 661 edata = ee->engine.data;
656 edata->ticking = EINA_TRUE; 662 edata->ticking = EINA_TRUE;
657 if (!edata->pending && !ee->in_async_render) 663 if (!edata->pending && !ee->in_async_render)