diff options
author | Wenjing Liu <[email protected]> | 2019-12-17 12:38:54 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2020-01-16 14:16:15 -0500 |
commit | 4134aaa11bd9c3e65ec07a1fcd59f57d4c58c434 (patch) | |
tree | 03ec584fb70da3d856f0fe4eb264f5fe3fd74454 | |
parent | 5b5abe9526073ccbf3032d27b5864520829cdd9c (diff) |
drm/amd/display: wait for test pattern after when all pipes are programmed
[why]
Currently we wait for test pattern after each pipe is programmed. For
ODM combined scenario it will cause test pattern is shown on only half
screen for 1 frame. This is not desirable.
[how]
No wait between odm pipe programming, only wait after all pipes are
programmed.
Signed-off-by: Wenjing Liu <[email protected]>
Reviewed-by: Tony Cheng <[email protected]>
Acked-by: Harry Wentland <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c index 75dc387bbb2b..8c257a9f4c7f 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c @@ -3657,12 +3657,6 @@ static void set_crtc_test_pattern(struct dc_link *link, NULL, width, height); - /* wait for dpg to blank pixel data with test pattern */ - for (count = 0; count < 1000; count++) - if (odm_opp->funcs->dpg_is_blanked(odm_opp)) - break; - else - udelay(100); } opp->funcs->opp_set_disp_pattern_generator(opp, controller_test_pattern, |