drm/amd/display: color distortion after DPMS+ background color fix
authorCharlene Liu <charlene.liu@amd.com>
Fri, 10 Feb 2017 22:51:27 +0000 (17:51 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:14:35 +0000 (17:14 -0400)
Signed-off-by: Charlene Liu <charlene.liu@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@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/dce110/dce110_hw_sequencer.c

index 88a2fa99f5da0102877fad85c5dada2af90e5d33..0afb3c64b651fa4caf1f8844449f7a7c83d7bc5f 100644 (file)
@@ -1054,6 +1054,8 @@ static enum dc_status apply_single_controller_ctx_to_hw(
        if (!pipe_ctx_old->stream) {
                core_link_enable_stream(pipe_ctx);
 
+       resource_build_info_frame(pipe_ctx);
+       dce110_update_info_frame(pipe_ctx);
                if (dc_is_dp_signal(pipe_ctx->stream->signal))
                        dce110_unblank_stream(pipe_ctx,
                                &stream->sink->link->public.cur_link_settings);