Commit 5cb99d46 authored by David Francis's avatar David Francis Committed by Alex Deucher

Revert "drm/amd/display: Fix underscan not using proper scaling"

This reverts commit 80e80ec8.

This commit fixed an issue with underscan commits not updating all
needed timing values, but through various refactors it is no longer
necessary. It causes corruption on odm combine by
overwriting the halved h_active in the stream timing
Signed-off-by: default avatarDavid Francis <David.Francis@amd.com>
Reviewed-by: default avatarRoman Li <Roman.Li@amd.com>
Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Reviewed-by: default avatarNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 4c3cfe14
...@@ -2130,7 +2130,7 @@ void dc_commit_updates_for_stream(struct dc *dc, ...@@ -2130,7 +2130,7 @@ void dc_commit_updates_for_stream(struct dc *dc,
enum surface_update_type update_type; enum surface_update_type update_type;
struct dc_state *context; struct dc_state *context;
struct dc_context *dc_ctx = dc->ctx; struct dc_context *dc_ctx = dc->ctx;
int i, j; int i;
stream_status = dc_stream_get_status(stream); stream_status = dc_stream_get_status(stream);
context = dc->current_state; context = dc->current_state;
...@@ -2168,16 +2168,6 @@ void dc_commit_updates_for_stream(struct dc *dc, ...@@ -2168,16 +2168,6 @@ void dc_commit_updates_for_stream(struct dc *dc,
copy_surface_update_to_plane(surface, &srf_updates[i]); copy_surface_update_to_plane(surface, &srf_updates[i]);
if (update_type >= UPDATE_TYPE_MED) {
for (j = 0; j < dc->res_pool->pipe_count; j++) {
struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[j];
if (pipe_ctx->plane_state != surface)
continue;
resource_build_scaling_params(pipe_ctx);
}
}
} }
copy_stream_update_to_stream(dc, context, stream, stream_update); copy_stream_update_to_stream(dc, context, stream, stream_update);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment