drm/amd/display: More deadcoding
Subsystems (3)
cover drm/amd/display: More deadcoding
From: "Dr. David Alan Gilbert" <[email protected]>
Another small pile of deadcode patches.
Dr. David Alan Gilbert (7):
drm/amd/display: Remove unused mpc1_is_mpcc_idle drm/amd/display: Remove unused freesync functions drm/amd/display: Remove unused dc_stream_get_crtc_position drm/amd/display: Remove unused get_clock_requirements_for_state drm/amd/display: Remove unused hubbub1_toggle_watermark_change_req drm/amd/display: Remove unused get_max_support_fbc_buffersize drm/amd/display: Remove unused
link_enc_cfg_get_link_enc_used_by_stream
drivers/gpu/drm/amd/display/dc/core/dc.c | 39 ----- .../drm/amd/display/dc/core/dc_link_enc_cfg.c | 11 -- drivers/gpu/drm/amd/display/dc/dc.h | 2 - drivers/gpu/drm/amd/display/dc/dc_stream.h | 12 -- .../amd/display/dc/dce110/dce110_compressor.c | 13 -- .../amd/display/dc/dce110/dce110_compressor.h | 2 - .../display/dc/hubbub/dcn10/dcn10_hubbub.c | 18 --- .../display/dc/hubbub/dcn10/dcn10_hubbub.h | 3 - .../gpu/drm/amd/display/dc/inc/link_enc_cfg.h | 5 - .../drm/amd/display/dc/mpc/dcn10/dcn10_mpc.c | 16 -- .../drm/amd/display/dc/mpc/dcn10/dcn10_mpc.h | 4 - .../amd/display/modules/freesync/freesync.c | 137 ------------------ .../amd/display/modules/inc/mod_freesync.h | 26 ---- 13 files changed, 288 deletions(-)
Signature · 1 line
2.48.1
PATCH 5/7 drm/amd/display: Remove unused hubbub1_toggle_watermark_change_req
From: "Dr. David Alan Gilbert" <[email protected]>
hubbub1_toggle_watermark_change_req() last use was removed in 2017 by commit b8fce2c9d773 ("drm/amd/display: Optimize programming front end")
Remove it.
--- .../amd/display/dc/hubbub/dcn10/dcn10_hubbub.c | 18 ------------------ .../amd/display/dc/hubbub/dcn10/dcn10_hubbub.h | 3 --- 2 files changed, 21 deletions(-)
drivers/gpu/drm/amd/display/dc/hubbub/dcn10/dcn10_hubbub.c +0 -18
@@ -679,24 +679,6 @@ void hubbub1_update_dchub( dh_data->dchub_info_valid = false; } -void hubbub1_toggle_watermark_change_req (struct hubbub *hubbub) -{ -struct dcn10_hubbub *hubbub1 =TO_DCN10_HUBBUB (hubbub); - -uint32_t watermark_change_req; - -REG_GET (DCHUBBUB_ARB_WATERMARK_CHANGE_CNTL , -DCHUBBUB_ARB_WATERMARK_CHANGE_REQUEST , &watermark_change_req); - -if (watermark_change_req) - watermark_change_req =0 ; -else - watermark_change_req =1 ; - -REG_UPDATE (DCHUBBUB_ARB_WATERMARK_CHANGE_CNTL , -DCHUBBUB_ARB_WATERMARK_CHANGE_REQUEST , watermark_change_req); -} -void hubbub1_soft_reset (struct hubbub *hubbub,bool reset) {struct dcn10_hubbub *hubbub1 =TO_DCN10_HUBBUB (hubbub);
drivers/gpu/drm/amd/display/dc/hubbub/dcn10/dcn10_hubbub.h +0 -3
@@ -489,9 +489,6 @@ void hubbub1_allow_self_refresh_control(struct hubbub *hubbub, bool allow);bool hubbub1_is_allow_self_refresh_enabled (struct hubbub *hubub); -void hubbub1_toggle_watermark_change_req ( -struct hubbub *hubbub); -void hubbub1_wm_read_state (struct hubbub *hubbub,struct dcn_hubbub_wm *wm);
Signature · 1 line
2.48.1
PATCH 6/7 drm/amd/display: Remove unused get_max_support_fbc_buffersize
In reply to [email protected]From: "Dr. David Alan Gilbert" <[email protected]>
get_max_support_fbc_buffersize() is unused since 2021's commit 94f0d0c80cf3 ("drm/amd/display/dc/dce110/dce110_compressor: Remove unused function 'dce110_get_required_compressed_surfacesize") removed it's only caller.
Remove it.
--- .../drm/amd/display/dc/dce110/dce110_compressor.c | 13 ------------- .../drm/amd/display/dc/dce110/dce110_compressor.h | 2 -- 2 files changed, 15 deletions(-)
drivers/gpu/drm/amd/display/dc/dce110/dce110_compressor.c +0 -13
@@ -409,19 +409,6 @@ void dce110_compressor_destroy(struct compressor **compressor) *compressor =NULL ; } -void get_max_support_fbc_buffersize (unsigned int *max_x,unsigned int *max_y) -{ - *max_x =FBC_MAX_X ; - *max_y =FBC_MAX_Y ; - -/* if (m_smallLocalFrameBufferMemory == 1) -* { -* *max_x = FBC_MAX_X_SG; -* *max_y = FBC_MAX_Y_SG; -* } -*/ -} -static const struct compressor_funcs dce110_compressor_funcs = { .power_up_fbc = dce110_compressor_power_up_fbc, .enable_fbc = dce110_compressor_enable_fbc,
drivers/gpu/drm/amd/display/dc/dce110/dce110_compressor.h +0 -2
@@ -75,7 +75,5 @@ void dce110_compressor_program_lpt_control(struct compressor *cp,bool dce110_compressor_is_lpt_enabled_in_hw (struct compressor *cp); -void get_max_support_fbc_buffersize (unsigned int *max_x,unsigned int *max_y); -#endif
Signature · 1 line
2.48.1
PATCH 2/7 drm/amd/display: Remove unused freesync functions
In reply to [email protected]From: "Dr. David Alan Gilbert" <[email protected]>
mod_freesync_get_vmin_vmax() and mod_freesync_get_v_position() were added in 2017 by
commit 72ada5f76939 ("drm/amd/display: FreeSync Auto Sweep Support")
mod_freesync_is_valid_range() was added in 2018 by
commit e80e94460841 ("drm/amd/display: add method to check for supported range")
mod_freesync_get_settings() was added in 2018 by commit a3e1737ed61c ("drm/amd/display: Implement stats logging")
andmod_freesync_calc_field_rate_from_timing() was added in 2020 by commit 49c70ece54b0 ("drm/amd/display: Change input parameter for set_drr")
None of these have been used.
Remove them.
--- .../amd/display/modules/freesync/freesync.c | 137 ------------------ .../amd/display/modules/inc/mod_freesync.h | 26 ---- 2 files changed, 163 deletions(-)
drivers/gpu/drm/amd/display/modules/freesync/freesync.c +0 -137
@@ -552,43 +552,6 @@ static bool vrr_settings_require_update(struct core_freesync *core_freesync,return false; } -bool mod_freesync_get_vmin_vmax (struct mod_freesync *mod_freesync, -const struct dc_stream_state *stream, -unsigned int *vmin, -unsigned int *vmax) -{ - *vmin = stream->adjust.v_total_min; - *vmax = stream->adjust.v_total_max; - -return true; -} - -bool mod_freesync_get_v_position (struct mod_freesync *mod_freesync, -struct dc_stream_state *stream, -unsigned int *nom_v_pos, -unsigned int *v_pos) -{ -struct core_freesync *core_freesync =NULL ; -struct crtc_position position; - -if (mod_freesync ==NULL ) -return false; - - core_freesync =MOD_FREESYNC_TO_CORE (mod_freesync); - -if (dc_stream_get_crtc_position (core_freesync->dc, &stream,1 , - &position.vertical_count, - &position.nominal_vcount)) { - - *nom_v_pos = position.nominal_vcount; - *v_pos = position.vertical_count; - -return true; - } - -return false; -} -static void build_vrr_infopacket_data_v1 (const struct mod_vrr_params *vrr,struct dc_info_packet *infopacket,bool freesync_on_desktop)
@@ -1291,28 +1254,6 @@ void mod_freesync_handle_v_update(struct mod_freesync *mod_freesync, } } -void mod_freesync_get_settings (struct mod_freesync *mod_freesync, -const struct mod_vrr_params *vrr, -unsigned int *v_total_min,unsigned int *v_total_max, -unsigned int *event_triggers, -unsigned int *window_min,unsigned int *window_max, -unsigned int *lfc_mid_point_in_us, -unsigned int *inserted_frames, -unsigned int *inserted_duration_in_us) -{ -if (mod_freesync ==NULL ) -return ; - -if (vrr->supported) { - *v_total_min = vrr->adjust.v_total_min; - *v_total_max = vrr->adjust.v_total_max; - *event_triggers =0 ; - *lfc_mid_point_in_us = vrr->btr.mid_point_in_us; - *inserted_frames = vrr->btr.frames_to_insert; - *inserted_duration_in_us = vrr->btr.inserted_duration_in_us; - } -} -unsigned long long mod_freesync_calc_nominal_field_rate (const struct dc_stream_state *stream) {
@@ -1328,85 +1269,7 @@ unsigned long long mod_freesync_calc_nominal_field_rate(return nominal_field_rate_in_uhz; } -unsigned long long mod_freesync_calc_field_rate_from_timing ( -unsigned int vtotal,unsigned int htotal,unsigned int pix_clk) -{ -unsigned long long field_rate_in_uhz =0 ; -unsigned int total = htotal * vtotal; - -/* Calculate nominal field rate for stream, rounded up to nearest integer */ - field_rate_in_uhz = pix_clk; - field_rate_in_uhz *=1000000ULL ; - - field_rate_in_uhz =div_u64 (field_rate_in_uhz, total); - -return field_rate_in_uhz; -} -bool mod_freesync_get_freesync_enabled (struct mod_vrr_params *pVrr) {return (pVrr->state !=VRR_STATE_UNSUPPORTED ) && (pVrr->state !=VRR_STATE_DISABLED ); } - -bool mod_freesync_is_valid_range (uint32_t min_refresh_cap_in_uhz, -uint32_t max_refresh_cap_in_uhz, -uint32_t nominal_field_rate_in_uhz) -{ - -/* Typically nominal refresh calculated can have some fractional part. -* Allow for some rounding error of actual video timing by taking floor -* of caps and request. Round the nominal refresh rate. -* -* Dividing will convert everything to units in Hz although input -* variable name is in uHz! -* -* Also note, this takes care of rounding error on the nominal refresh -* so by rounding error we only expect it to be off by a small amount, -* such as < 0.1 Hz. i.e. 143.9xxx or 144.1xxx. -* -* Example 1. Caps Min = 40 Hz, Max = 144 Hz -* Request Min = 40 Hz, Max = 144 Hz -* Nominal = 143.5x Hz rounded to 144 Hz -* This function should allow this as valid request -* -* Example 2. Caps Min = 40 Hz, Max = 144 Hz -* Request Min = 40 Hz, Max = 144 Hz -* Nominal = 144.4x Hz rounded to 144 Hz -* This function should allow this as valid request -* -* Example 3. Caps Min = 40 Hz, Max = 144 Hz -* Request Min = 40 Hz, Max = 144 Hz -* Nominal = 120.xx Hz rounded to 120 Hz -* This function should return NOT valid since the requested -* max is greater than current timing's nominal -* -* Example 4. Caps Min = 40 Hz, Max = 120 Hz -* Request Min = 40 Hz, Max = 120 Hz -* Nominal = 144.xx Hz rounded to 144 Hz -* This function should return NOT valid since the nominal -* is greater than the capability's max refresh -*/ - nominal_field_rate_in_uhz = -div_u64 (nominal_field_rate_in_uhz +500000 ,1000000 ); - min_refresh_cap_in_uhz /=1000000 ; - max_refresh_cap_in_uhz /=1000000 ; - -/* Check nominal is within range */ -if (nominal_field_rate_in_uhz > max_refresh_cap_in_uhz || - nominal_field_rate_in_uhz < min_refresh_cap_in_uhz) -return false; - -/* If nominal is less than max, limit the max allowed refresh rate */ -if (nominal_field_rate_in_uhz < max_refresh_cap_in_uhz) - max_refresh_cap_in_uhz = nominal_field_rate_in_uhz; - -/* Check min is within range */ -if (min_refresh_cap_in_uhz > max_refresh_cap_in_uhz) -return false; - -/* For variable range, check for at least 10 Hz range */ -if (nominal_field_rate_in_uhz - min_refresh_cap_in_uhz <10 ) -return false; - -return true; -}
drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h +0 -26
@@ -110,25 +110,6 @@ struct mod_vrr_params {struct mod_freesync *mod_freesync_create (struct dc *dc);void mod_freesync_destroy (struct mod_freesync *mod_freesync); -bool mod_freesync_get_vmin_vmax (struct mod_freesync *mod_freesync, -const struct dc_stream_state *stream, -unsigned int *vmin, -unsigned int *vmax); - -bool mod_freesync_get_v_position (struct mod_freesync *mod_freesync, -struct dc_stream_state *stream, -unsigned int *nom_v_pos, -unsigned int *v_pos); - -void mod_freesync_get_settings (struct mod_freesync *mod_freesync, -const struct mod_vrr_params *vrr, -unsigned int *v_total_min,unsigned int *v_total_max, -unsigned int *event_triggers, -unsigned int *window_min,unsigned int *window_max, -unsigned int *lfc_mid_point_in_us, -unsigned int *inserted_frames, -unsigned int *inserted_duration_in_us); - void mod_freesync_build_vrr_infopacket(struct mod_freesync *mod_freesync, const struct dc_stream_state *stream, const struct mod_vrr_params *vrr,
@@ -155,13 +136,6 @@ void mod_freesync_handle_v_update(struct mod_freesync *mod_freesync,unsigned long long mod_freesync_calc_nominal_field_rate (const struct dc_stream_state *stream); -unsigned long long mod_freesync_calc_field_rate_from_timing ( -unsigned int vtotal,unsigned int htotal,unsigned int pix_clk); - -bool mod_freesync_is_valid_range (uint32_t min_refresh_cap_in_uhz, -uint32_t max_refresh_cap_in_uhz, -uint32_t nominal_field_rate_in_uhz); -unsigned int mod_freesync_calc_v_total_from_refresh (const struct dc_stream_state *stream,unsigned int refresh_in_uhz);
Signature · 1 line
2.48.1
PATCH 3/7 drm/amd/display: Remove unused dc_stream_get_crtc_position
In reply to [email protected]From: "Dr. David Alan Gilbert" <[email protected]>
The last user of dc_stream_get_crtc_position() was mod_freesync_get_v_position() which is removed in a previous patch in this series.
Remove it.
--- drivers/gpu/drm/amd/display/dc/core/dc.c | 27 ---------------------- drivers/gpu/drm/amd/display/dc/dc_stream.h | 12 ---------- 2 files changed, 39 deletions(-)
drivers/gpu/drm/amd/display/dc/core/dc.c +0 -27
@@ -515,33 +515,6 @@ bool dc_stream_get_last_used_drr_vtotal(struct dc *dc,return status; } -bool dc_stream_get_crtc_position (struct dc *dc, -struct dc_stream_state **streams,int num_streams, -unsigned int *v_pos,unsigned int *nom_v_pos) -{ -/* TODO: Support multiple streams */ -const struct dc_stream_state *stream = streams[0 ]; -int i; -bool ret = false; -struct crtc_position position; - -dc_exit_ips_for_hw_access (dc); - -for (i =0 ; i <MAX_PIPES ; i++) { -struct pipe_ctx *pipe = - &dc->current_state->res_ctx.pipe_ctx[i]; - -if (pipe->stream == stream && pipe->stream_res.stream_enc) { - dc->hwss.get_position (&pipe,1 , &position); - - *v_pos = position.vertical_count; - *nom_v_pos = position.nominal_vcount; - ret = true; - } - } -return ret; -} -#if defined(CONFIG_DRM_AMD_SECURE_DISPLAY ) static inline void dc_stream_forward_dmub_crc_window(struct dc_dmub_srv *dmub_srv,
drivers/gpu/drm/amd/display/dc/dc_stream.h +0 -12
@@ -528,12 +528,6 @@ bool dc_stream_get_last_used_drr_vtotal(struct dc *dc,struct dc_stream_state *stream, uint32_t *refresh_rate); -bool dc_stream_get_crtc_position (struct dc *dc, -struct dc_stream_state **stream, -int num_streams, -unsigned int *v_pos, -unsigned int *nom_v_pos); -#if defined(CONFIG_DRM_AMD_SECURE_DISPLAY ) bool dc_stream_forward_crc_window(struct dc_stream_state *stream, struct rect *rect,
@@ -578,12 +572,6 @@ bool dc_stream_set_gamut_remap(struct dc *dc,bool dc_stream_program_csc_matrix (struct dc *dc,struct dc_stream_state *stream); -bool dc_stream_get_crtc_position (struct dc *dc, -struct dc_stream_state **stream, -int num_streams, -unsigned int *v_pos, -unsigned int *nom_v_pos); -struct pipe_ctx *dc_stream_get_pipe_ctx (struct dc_stream_state *stream); void dc_dmub_update_dirty_rect(struct dc *dc,
Signature · 1 line
2.48.1
PATCH 4/7 drm/amd/display: Remove unused get_clock_requirements_for_state
In reply to [email protected]From: "Dr. David Alan Gilbert" <[email protected]>
get_clock_requirements_for_state() was added in 2018 by commit 8ab2180f96f5 ("drm/amd/display: Add function to fetch clock requirements")
but never used.
Remove it.
--- drivers/gpu/drm/amd/display/dc/core/dc.c | 12 ------------ drivers/gpu/drm/amd/display/dc/dc.h | 2 -- 2 files changed, 14 deletions(-)
drivers/gpu/drm/amd/display/dc/core/dc.c +0 -12
@@ -5387,18 +5387,6 @@ bool dc_is_dmcu_initialized(struct dc *dc)return false; } -void get_clock_requirements_for_state (struct dc_state *state,struct AsicStateEx *info) -{ - info->displayClock = (unsigned int )state->bw_ctx.bw.dcn.clk.dispclk_khz; - info->engineClock = (unsigned int )state->bw_ctx.bw.dcn.clk.dcfclk_khz; - info->memoryClock = (unsigned int )state->bw_ctx.bw.dcn.clk.dramclk_khz; - info->maxSupportedDppClock = (unsigned int )state->bw_ctx.bw.dcn.clk.max_supported_dppclk_khz; - info->dppClock = (unsigned int )state->bw_ctx.bw.dcn.clk.dppclk_khz; - info->socClock = (unsigned int )state->bw_ctx.bw.dcn.clk.socclk_khz; - info->dcfClockDeepSleep = (unsigned int )state->bw_ctx.bw.dcn.clk.dcfclk_deep_sleep_khz; - info->fClock = (unsigned int )state->bw_ctx.bw.dcn.clk.fclk_khz; - info->phyClock = (unsigned int )state->bw_ctx.bw.dcn.clk.phyclk_khz; -}enum dc_status dc_set_clock (struct dc *dc,enum dc_clock_type clock_type,uint32_t clk_khz,uint32_t stepping) {if (dc->hwss.set_clock)
drivers/gpu/drm/amd/display/dc/dc.h +0 -2
@@ -1582,8 +1582,6 @@ bool dc_validate_boot_timing(const struct dc *dc,enum dc_status dc_validate_plane (struct dc *dc,const struct dc_plane_state *plane_state); -void get_clock_requirements_for_state (struct dc_state *state,struct AsicStateEx *info); - enum dc_status dc_validate_with_context(struct dc *dc, const struct dc_validation_set set[], int set_count,
Signature · 1 line
2.48.1
PATCH 7/7 drm/amd/display: Remove unused link_enc_cfg_get_link_enc_used_by_stream
In reply to [email protected]From: "Dr. David Alan Gilbert" <[email protected]>
link_enc_cfg_get_link_enc_used_by_stream() is no longer used after 2021's:
commit 6366b00346c0 ("drm/amd/display: Maintain consistent mode of operation during encoder assignment")
which introduces and uses the _current version instead.
Remove it.
--- drivers/gpu/drm/amd/display/dc/core/dc_link_enc_cfg.c | 11 ----------- drivers/gpu/drm/amd/display/dc/inc/link_enc_cfg.h | 5 ----- 2 files changed, 16 deletions(-)
drivers/gpu/drm/amd/display/dc/core/dc_link_enc_cfg.c +0 -11
@@ -559,17 +559,6 @@ struct link_encoder *link_enc_cfg_get_next_avail_link_enc(struct dc *dc)return link_enc; } -struct link_encoder *link_enc_cfg_get_link_enc_used_by_stream ( -struct dc *dc, -const struct dc_stream_state *stream) -{ -struct link_encoder *link_enc; - - link_enc =link_enc_cfg_get_link_enc_used_by_link (dc, stream->link); - -return link_enc; -} -struct link_encoder *link_enc_cfg_get_link_enc (const struct dc_link *link) {
drivers/gpu/drm/amd/display/dc/inc/link_enc_cfg.h +0 -5
@@ -96,11 +96,6 @@ struct link_encoder *link_enc_cfg_get_link_enc_used_by_link(/* Return next available DIG link encoder. NULL if none available. */ struct link_encoder *link_enc_cfg_get_next_avail_link_enc (struct dc *dc); -/* Return DIG link encoder used by stream. NULL if unused. */ -struct link_encoder *link_enc_cfg_get_link_enc_used_by_stream ( -struct dc *dc, -const struct dc_stream_state *stream); -/* Return DIG link encoder. NULL if unused. */ struct link_encoder *link_enc_cfg_get_link_enc (const struct dc_link *link);
Signature · 1 line
2.48.1
PATCH 1/7 drm/amd/display: Remove unused mpc1_is_mpcc_idle
In reply to [email protected]From: "Dr. David Alan Gilbert" <[email protected]>
mpc1_is_mpcc_idle() was added in 2017 by
commit feb4a3cd8eb0 ("drm/amd/display: Integrating MPC pseudocode") but never used.
Remove it.
--- .../gpu/drm/amd/display/dc/mpc/dcn10/dcn10_mpc.c | 16 ---------------- .../gpu/drm/amd/display/dc/mpc/dcn10/dcn10_mpc.h | 4 ---- 2 files changed, 20 deletions(-)
drivers/gpu/drm/amd/display/dc/mpc/dcn10/dcn10_mpc.c +0 -16
@@ -142,22 +142,6 @@ struct mpcc *mpc1_get_mpcc_for_dpp(struct mpc_tree *tree, int dpp_id)return NULL ; } -bool mpc1_is_mpcc_idle (struct mpc *mpc,int mpcc_id) -{ -struct dcn10_mpc *mpc10 =TO_DCN10_MPC (mpc); -unsigned int top_sel; -unsigned int opp_id; -unsigned int idle; - -REG_GET (MPCC_TOP_SEL [mpcc_id],MPCC_TOP_SEL , &top_sel); -REG_GET (MPCC_OPP_ID [mpcc_id],MPCC_OPP_ID , &opp_id); -REG_GET (MPCC_STATUS [mpcc_id],MPCC_IDLE , &idle); -if (top_sel ==0xf && opp_id ==0xf && idle) -return true; -else -return false; -} -void mpc1_assert_mpcc_idle_before_connect (struct mpc *mpc,int mpcc_id) {struct dcn10_mpc *mpc10 =TO_DCN10_MPC (mpc);
drivers/gpu/drm/amd/display/dc/mpc/dcn10/dcn10_mpc.h +0 -4
@@ -173,10 +173,6 @@ void mpc1_update_stereo_mix(struct mpcc_sm_cfg *sm_cfg, int mpcc_id); -bool mpc1_is_mpcc_idle ( -struct mpc *mpc, -int mpcc_id); -void mpc1_assert_mpcc_idle_before_connect (struct mpc *mpc,int mpcc_id);
Signature · 1 line
2.48.1
Alex Deucher
AppliedApplied. Thanks!
Alex
Quoted 36 lines · On Sun, Feb 2, 2025 at 5:08 PM <[email protected]> wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
Another small pile of deadcode patches.
Signed-off-by Dr. David Alan Gilbert <[email protected]>Dr. David Alan Gilbert (7):
drm/amd/display: Remove unusedmpc1_is_mpcc_idledrm/amd/display: Remove unused freesync functions drm/amd/display: Remove unuseddc_stream_get_crtc_positiondrm/amd/display: Remove unusedget_clock_requirements_for_statedrm/amd/display: Remove unusedhubbub1_toggle_watermark_change_reqdrm/amd/display: Remove unusedget_max_support_fbc_buffersizedrm/amd/display: Remove unused
link_enc_cfg_get_link_enc_used_by_streamdrivers/gpu/drm/amd/display/dc/core/dc.c | 39 ----- .../drm/amd/display/dc/core/dc_link_enc_cfg.c | 11 -- drivers/gpu/drm/amd/display/dc/dc.h | 2 - drivers/gpu/drm/amd/display/dc/dc_stream.h | 12 -- .../amd/display/dc/dce110/dce110_compressor.c | 13 -- .../amd/display/dc/dce110/dce110_compressor.h | 2 - .../display/dc/hubbub/dcn10/dcn10_hubbub.c | 18 --- .../display/dc/hubbub/dcn10/dcn10_hubbub.h | 3 - .../gpu/drm/amd/display/dc/inc/link_enc_cfg.h | 5 - .../drm/amd/display/dc/mpc/dcn10/dcn10_mpc.c | 16 -- .../drm/amd/display/dc/mpc/dcn10/dcn10_mpc.h | 4 - .../amd/display/modules/freesync/freesync.c | 137 ------------------ .../amd/display/modules/inc/mod_freesync.h | 26 ---- 13 files changed, 288 deletions(-)--
2.48.1