summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorEric Yang2017-07-26 22:15:26 +0200
committerAlex Deucher2017-09-27 00:15:47 +0200
commit4d6356b0cc264686597aac2d04886cbfd8607f09 (patch)
tree6776f86aa1f61eaccbf814263d529d913b304251 /drivers/gpu/drm
parentdrm/amd/display: Roll stream into dc_stream (diff)
downloadkernel-qcow2-linux-4d6356b0cc264686597aac2d04886cbfd8607f09.tar.gz
kernel-qcow2-linux-4d6356b0cc264686597aac2d04886cbfd8607f09.tar.xz
kernel-qcow2-linux-4d6356b0cc264686597aac2d04886cbfd8607f09.zip
drm/amd/display: reduce 40s time out to 1s in disable crtc
Signed-off-by: Eric Yang <Eric.Yang2@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn10/dcn10_timing_generator.c2
1 files changed, 1 insertions, 1 deletions
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;
}