Skip to content

Commit 62893e9

Browse files
amd-jaberbacalexdeucher
authored andcommitted
drm/amd/display: Remove unused duplicate register definition
[Why] DCN32 uses ABM register definitions in dcn32_resource.h, remove duplicate from dce_abm.h to avoid confusion. Reviewed-by: Dillon Varone <dillon.varone@amd.com> Acked-by: Hersen Wu <hersenxs.wu@amd.com> Signed-off-by: Joshua Aberback <joshua.aberback@amd.com> Signed-off-by: Hersen Wu <hersenxs.wu@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 60ccd58 commit 62893e9

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

drivers/gpu/drm/amd/display/dc/dce/dce_abm.h

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -128,21 +128,6 @@
128128
SRI(DC_ABM1_ACE_THRES_12, ABM, id), \
129129
NBIO_SR(BIOS_SCRATCH_2)
130130

131-
#define ABM_DCN32_REG_LIST(id)\
132-
SRI(DC_ABM1_HG_SAMPLE_RATE, ABM, id), \
133-
SRI(DC_ABM1_LS_SAMPLE_RATE, ABM, id), \
134-
SRI(BL1_PWM_BL_UPDATE_SAMPLE_RATE, ABM, id), \
135-
SRI(DC_ABM1_HG_MISC_CTRL, ABM, id), \
136-
SRI(DC_ABM1_IPCSC_COEFF_SEL, ABM, id), \
137-
SRI(BL1_PWM_CURRENT_ABM_LEVEL, ABM, id), \
138-
SRI(BL1_PWM_TARGET_ABM_LEVEL, ABM, id), \
139-
SRI(BL1_PWM_USER_LEVEL, ABM, id), \
140-
SRI(DC_ABM1_LS_MIN_MAX_PIXEL_VALUE_THRES, ABM, id), \
141-
SRI(DC_ABM1_HGLS_REG_READ_PROGRESS, ABM, id), \
142-
SRI(DC_ABM1_ACE_OFFSET_SLOPE_0, ABM, id), \
143-
SRI(DC_ABM1_ACE_THRES_12, ABM, id), \
144-
NBIO_SR(BIOS_SCRATCH_2)
145-
146131
#define ABM_SF(reg_name, field_name, post_fix)\
147132
.field_name = reg_name ## __ ## field_name ## post_fix
148133

0 commit comments

Comments
 (0)