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-29 08:52:16 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-07-29 08:52:16 -0500
commit1a175cd53796fcbc8c8c5c181b6465e063780c47 (patch)
tree44182c208bc7d20d4e366b65332c9cce3bfe5013 /src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
parente1605e6405cc73837497bb8c961a7220dd6916fa (diff)
ecore_evas_drm: Only check for gpu time offset if env var set
Since most systems shouldn't need this, and it's possible that it's causing trouble for some systems, make it off by default. Fix T5806
Diffstat (limited to 'src/modules/ecore_evas/engines/drm/ecore_evas_drm.c')
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c5
1 files changed, 5 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 ac70498e20..35cd8d83a1 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -833,6 +833,11 @@ _ecore_evas_new_internal(const char *device, int x, int y, int w, int h, Eina_Bo
833 return NULL; 833 return NULL;
834 } 834 }
835 835
836 if (!getenv("ECORE_EVAS_DRM_GPU_CLOCK_WRONG"))
837 {
838 edata->once = EINA_TRUE;
839 edata->offset = 0.0;
840 }
836 edata->x = x; 841 edata->x = x;
837 edata->y = y; 842 edata->y = y;
838 edata->w = w; 843 edata->w = w;