ecore drm - increase timeout for flips from 0.05 to 2.0 sec
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Fri, 4 Sep 2020 12:04:58 +0000 (13:04 +0100)
committerJongmin Lee <jm105.lee@samsung.com>
Sun, 6 Sep 2020 21:10:06 +0000 (06:10 +0900)
so our timeout is far too agressive. we cant stay hung on buggy
devices/drivers though so make the timeout 2s instead of 0.05s so we
dont go retrying flips too agressively which causes stuttering

@fix

src/lib/ecore_drm2/ecore_drm2_fb.c

index bc6a2cf..e2ef2e8 100644 (file)
@@ -1,6 +1,6 @@
 #include "ecore_drm2_private.h"
 
-#define FLIP_TIMEOUT 0.05
+#define FLIP_TIMEOUT 1.0
 
 static Eina_Bool
 _fb2_create(Ecore_Drm2_Fb *fb)