mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-12 05:24:12 +08:00
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>
This commit is contained in:
parent
60ccd588d5
commit
62893e9794
@ -128,21 +128,6 @@
|
||||
SRI(DC_ABM1_ACE_THRES_12, ABM, id), \
|
||||
NBIO_SR(BIOS_SCRATCH_2)
|
||||
|
||||
#define ABM_DCN32_REG_LIST(id)\
|
||||
SRI(DC_ABM1_HG_SAMPLE_RATE, ABM, id), \
|
||||
SRI(DC_ABM1_LS_SAMPLE_RATE, ABM, id), \
|
||||
SRI(BL1_PWM_BL_UPDATE_SAMPLE_RATE, ABM, id), \
|
||||
SRI(DC_ABM1_HG_MISC_CTRL, ABM, id), \
|
||||
SRI(DC_ABM1_IPCSC_COEFF_SEL, ABM, id), \
|
||||
SRI(BL1_PWM_CURRENT_ABM_LEVEL, ABM, id), \
|
||||
SRI(BL1_PWM_TARGET_ABM_LEVEL, ABM, id), \
|
||||
SRI(BL1_PWM_USER_LEVEL, ABM, id), \
|
||||
SRI(DC_ABM1_LS_MIN_MAX_PIXEL_VALUE_THRES, ABM, id), \
|
||||
SRI(DC_ABM1_HGLS_REG_READ_PROGRESS, ABM, id), \
|
||||
SRI(DC_ABM1_ACE_OFFSET_SLOPE_0, ABM, id), \
|
||||
SRI(DC_ABM1_ACE_THRES_12, ABM, id), \
|
||||
NBIO_SR(BIOS_SCRATCH_2)
|
||||
|
||||
#define ABM_SF(reg_name, field_name, post_fix)\
|
||||
.field_name = reg_name ## __ ## field_name ## post_fix
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user