diff options
author | Yongqiang Sun <[email protected]> | 2017-11-15 16:06:15 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2017-12-14 10:51:02 -0500 |
commit | 096480eac61ca8aa1834ba7ceda165d397e29ca0 (patch) | |
tree | e182e57571786971504f68248882d989e2709d53 | |
parent | ebe0dce655b6d0b1adec54cd6feac9bf15af7fdf (diff) |
drm/amd/display: Remove unnecessary wait mpcc idle.
Before power gate plane, mpcc idle wait is processed,
no need to wait another time.
Signed-off-by: Yongqiang Sun <[email protected]>
Reviewed-by: Tony Cheng <[email protected]>
Acked-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/core/dc.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index d1488d5ee028..18fc5e792d5c 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -1178,12 +1178,6 @@ static void commit_planes_for_stream(struct dc *dc, if (update_type == UPDATE_TYPE_FULL) { dc->hwss.set_bandwidth(dc, context, false); context_clock_trace(dc, context); - - for (j = 0; j < dc->res_pool->pipe_count; j++) { - struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j]; - - dc->hwss.wait_for_mpcc_disconnect(dc, dc->res_pool, pipe_ctx); - } } if (surface_count == 0) { |