drm/amd/display: remove dcn10 wait on tg unlock
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Tue, 31 Oct 2017 21:29:18 +0000 (17:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:38 +0000 (12:47 -0500)
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@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>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_timing_generator.c

index d248067810c8040bd4f86acb7d8d929e3ada01d5..73ff78f9cae1cc1868afb23b3b10e34c26bfd54f 100644 (file)
@@ -571,11 +571,6 @@ static void tgn10_unlock(struct timing_generator *tg)
 
        REG_SET(OTG_MASTER_UPDATE_LOCK, 0,
                        OTG_MASTER_UPDATE_LOCK, 0);
-
-       /* why are we waiting here? */
-       REG_WAIT(OTG_DOUBLE_BUFFER_CONTROL,
-                       OTG_UPDATE_PENDING, 0,
-                       1, 100000);
 }
 
 static void tgn10_get_position(struct timing_generator *tg,