Commit 08338707 authored by Qingqing Zhuo's avatar Qingqing Zhuo Committed by Alex Deucher

drm/amd/display: remove unused mmhub_reg_offsets

[Why & How]
mmhub_reg_offsets never used in code. Remove it.
Reviewed-by: default avatarRodrigo Siqueira <rodrigo.siqueira@amd.com>
Acked-by: default avatarWayne Lin <wayne.lin@amd.com>
Signed-off-by: default avatarQingqing Zhuo <qingqing.zhuo@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 7bfaa160
......@@ -205,16 +205,6 @@ enum dcn35_clk_src_array_id {
REG_STRUCT[id].reg_name = NBIO_BASE(regBIF_BX2_ ## reg_name ## _BASE_IDX) + \
regBIF_BX2_ ## reg_name
/* MMHUB */
#define MMHUB_BASE_INNER(seg) ctx->mmhub_reg_offsets[seg]
#define MMHUB_BASE(seg) \
MMHUB_BASE_INNER(seg)
#define MMHUB_SR(reg_name)\
REG_STRUCT.reg_name = MMHUB_BASE(reg ## reg_name ## _BASE_IDX) + \
reg ## reg_name
#define bios_regs_init() \
( \
NBIO_SR(BIOS_SCRATCH_3),\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment