From 36a4671970254ab37b1986f8a6efdcc4b316d75f Mon Sep 17 00:00:00 2001 From: Dhaval Patel Date: Mon, 7 Aug 2017 22:55:47 -0700 Subject: [PATCH] drm/msm/sde: increase gpu input fence timeout to 10 seconds GPU hardware may take longer time to process the complex workload rendering. 2 seconds might not be enough to finish the processing. Increase this timeout to 10seconds for allowing GPU to render complex scene. Change-Id: Iab3462e2bcddc8d303a6012a632d465d1508ebf8 Signed-off-by: Dhaval Patel Signed-off-by: Rahul Sharma --- drivers/gpu/drm/msm/sde/sde_crtc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/sde/sde_crtc.c b/drivers/gpu/drm/msm/sde/sde_crtc.c index ea3f138ee461..3eaaa1c626bd 100644 --- a/drivers/gpu/drm/msm/sde/sde_crtc.c +++ b/drivers/gpu/drm/msm/sde/sde_crtc.c @@ -39,10 +39,10 @@ #include "sde_trace.h" /* default input fence timeout, in ms */ -#define SDE_CRTC_INPUT_FENCE_TIMEOUT 2000 +#define SDE_CRTC_INPUT_FENCE_TIMEOUT 10000 /* - * The default input fence timeout is 2 seconds while max allowed + * The default input fence timeout is 10 seconds while max allowed * range is 10 seconds. Any value above 10 seconds adds glitches beyond * tolerance limit. */