From: Mikita Lipski Date: Tue, 27 Oct 2020 19:52:43 +0000 (-0400) Subject: drm/amd/display: Remove unused flag from stream state X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=719349f849e8d0af6197629774ccf795ecde9d29;p=linux.git drm/amd/display: Remove unused flag from stream state [why & how] Removing unused DSC flag which is incorrect and is not used. We are only using stream->timing.flags.DSC for DSC's current state. Stream state as an input parameter and should not contain any past status flags. Signed-off-by: Mikita Lipski Acked-by: Bindu Ramamurthy Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dc_stream.h b/drivers/gpu/drm/amd/display/dc/dc_stream.h index b0297f07f9de0..13dae7238a58c 100644 --- a/drivers/gpu/drm/amd/display/dc/dc_stream.h +++ b/drivers/gpu/drm/amd/display/dc/dc_stream.h @@ -238,7 +238,6 @@ struct dc_stream_state { bool apply_seamless_boot_optimization; uint32_t stream_id; - bool is_dsc_enabled; struct test_pattern test_pattern; union stream_update_flags update_flags;