drm/amd/display: Remove unused flag from stream state
authorMikita Lipski <mikita.lipski@amd.com>
Tue, 27 Oct 2020 19:52:43 +0000 (15:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Apr 2021 20:31:44 +0000 (16:31 -0400)
[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 <mikita.lipski@amd.com>
Acked-by: Bindu Ramamurthy <bindur12@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_stream.h

index b0297f0..13dae72 100644 (file)
@@ -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;