From 574ed249fa752d12588768695a57fe425b605d40 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Fri, 4 Sep 2020 13:04:58 +0100 Subject: [PATCH] ecore drm - increase timeout for flips from 0.05 to 2.0 sec 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_drm2/ecore_drm2_fb.c b/src/lib/ecore_drm2/ecore_drm2_fb.c index bc6a2cf..e2ef2e8 100644 --- a/src/lib/ecore_drm2/ecore_drm2_fb.c +++ b/src/lib/ecore_drm2/ecore_drm2_fb.c @@ -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) -- 2.7.4