From: Eric Yang Date: Wed, 26 Jul 2017 20:15:26 +0000 (-0400) Subject: drm/amd/display: reduce 40s time out to 1s in disable crtc X-Git-Tag: v4.15-rc1~56^2~23^2~261 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=4d6356b0cc264686597aac2d04886cbfd8607f09;p=linux.git drm/amd/display: reduce 40s time out to 1s in disable crtc Signed-off-by: Eric Yang Reviewed-by: Tony Cheng Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_timing_generator.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_timing_generator.c index 0ef5d8f0625c..f4dce2806ae1 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_timing_generator.c +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_timing_generator.c @@ -429,7 +429,7 @@ static bool tgn10_disable_crtc(struct timing_generator *tg) /* CRTC disabled, so disable clock. */ REG_WAIT(OTG_CLOCK_CONTROL, OTG_BUSY, 0, - 2000, 20000); + 2000, 500); return true; }