drm/amd/display: Remove unused struct freesync_context
authorMaíra Canal <mairacanal@riseup.net>
Wed, 27 Jul 2022 17:50:33 +0000 (14:50 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Jul 2022 20:20:27 +0000 (16:20 -0400)
All references to struct freesync_context were removed, so remove the
struct freesync_context itself and its entry on struct dc_stream_state.

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Maíra Canal <mairacanal@riseup.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_stream.h

index c3d97206ed89f62d41c2935c4b38d5f1cebdb127..f87f852d48298a568be5b3c92fac5a1253c8e79e 100644 (file)
@@ -48,11 +48,6 @@ struct dc_stream_status {
        bool is_abm_supported;
 };
 
-// TODO: References to this needs to be removed..
-struct freesync_context {
-       bool dummy;
-};
-
 enum hubp_dmdata_mode {
        DMDATA_SW_MODE,
        DMDATA_HW_MODE
@@ -184,9 +179,6 @@ struct dc_stream_state {
        struct rect src; /* composition area */
        struct rect dst; /* stream addressable area */
 
-       // TODO: References to this needs to be removed..
-       struct freesync_context freesync_ctx;
-
        struct audio_info audio_info;
 
        struct dc_info_packet hdr_static_metadata;