From 6728b30c974e38711f70dc38edf68503bf71c4a9 Mon Sep 17 00:00:00 2001 From: Anthony Koo Date: Tue, 24 Jan 2017 15:19:42 -0500 Subject: drm/amd/display: Move backlight from encoder to ABM Signed-off-by: Anthony Koo Reviewed-by: Aric Cyr Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- .../gpu/drm/amd/display/dc/dce/dce_link_encoder.h | 24 ---------------------- 1 file changed, 24 deletions(-) (limited to 'drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.h') diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.h b/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.h index b3667df5250b..053f72b91b3c 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.h +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.h @@ -226,13 +226,6 @@ union dce110_dmcu_psr_config_data_reg3 { unsigned int u32All; }; -struct dce110_abm_backlight_registers { - unsigned int vBL_PWM_CNTL; - unsigned int vBL_PWM_CNTL2; - unsigned int vBL_PWM_PERIOD_CNTL; - unsigned int vLVTMA_PWRSEQ_REF_DIV_BL_PWM_REF_DIV; -}; - bool dce110_link_encoder_construct( struct dce110_link_encoder *enc110, const struct encoder_init_data *init_data, @@ -317,23 +310,6 @@ void dce110_link_encoder_update_mst_stream_allocation_table( struct link_encoder *enc, const struct link_mst_stream_allocation_table *table); -void dce110_link_encoder_set_lcd_backlight_level( - struct link_encoder *enc, - uint32_t level); - -void dce110_link_encoder_set_dmcu_backlight_level( - struct link_encoder *enc, - uint32_t level, - uint32_t frame_ramp, - uint32_t controller_id); - -void dce110_link_encoder_init_dmcu_backlight_settings( - struct link_encoder *enc); - -void dce110_link_encoder_set_dmcu_abm_level( - struct link_encoder *enc, - uint32_t level); - void dce110_link_encoder_set_dmcu_psr_enable( struct link_encoder *enc, bool enable); -- cgit v1.2.3-59-g8ed1b