Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/display: Remove unused struct freesync_context

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>

authored by

Maíra Canal and committed by
Alex Deucher
2182cb70 7c8e4a25

-8
-8
drivers/gpu/drm/amd/display/dc/dc_stream.h
··· 48 48 bool is_abm_supported; 49 49 }; 50 50 51 - // TODO: References to this needs to be removed.. 52 - struct freesync_context { 53 - bool dummy; 54 - }; 55 - 56 51 enum hubp_dmdata_mode { 57 52 DMDATA_SW_MODE, 58 53 DMDATA_HW_MODE ··· 178 183 uint8_t dsc_packed_pps[128]; 179 184 struct rect src; /* composition area */ 180 185 struct rect dst; /* stream addressable area */ 181 - 182 - // TODO: References to this needs to be removed.. 183 - struct freesync_context freesync_ctx; 184 186 185 187 struct audio_info audio_info; 186 188