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-28 09:40:40 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-07-28 10:41:11 -0500
commit8e500c683549e8d3afe78657c4582560a5c75eba (patch)
tree50980e4ca653cd4b9b868eaaa2928cf33baa0721 /src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
parent2efa25511f04dc2cb278471aa041e0e24ffa13f0 (diff)
ecore_drm2: Allow picking a sequence number for blanktime_get
This lets us do a blocking wait for a vsync. Something we should try to do as infrequently as possible, but in some cases we need it one time at startup to catch graphics driver bugs.
Diffstat (limited to '')
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c2
1 files changed, 1 insertions, 1 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 dd46ce00d0..302048c3b9 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -680,7 +680,7 @@ _drm_last_tick_get(Ecore_Evas *ee)
680 long sec, usec; 680 long sec, usec;
681 681
682 edata = ee->engine.data; 682 edata = ee->engine.data;
683 if (!ecore_drm2_output_blanktime_get(edata->output, &sec, &usec)) 683 if (!ecore_drm2_output_blanktime_get(edata->output, 0, &sec, &usec))
684 return -1.0; 684 return -1.0;
685 685
686 return sec + usec / 1000000.0; 686 return sec + usec / 1000000.0;