diff options
author | 2023-09-11 16:34:47 -0400 | |
---|---|---|
committer | 2023-09-26 17:00:20 -0400 | |
commit | 08338707ccd4b8a07b565d953684af495270b41e (patch) | |
tree | 4cec7ef35c0fe4619e001e2bf368c03fb7216e8a /drivers/gpu/drm/amd/display/dc/dcn35 | |
parent | drm/amdkfd: fix some race conditions in vram buffer alloc/free of svm code (diff) | |
download | linux-08338707ccd4b8a07b565d953684af495270b41e.tar.gz linux-08338707ccd4b8a07b565d953684af495270b41e.tar.bz2 linux-08338707ccd4b8a07b565d953684af495270b41e.zip |
drm/amd/display: remove unused mmhub_reg_offsets
[Why & How]
mmhub_reg_offsets never used in code. Remove it.
Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn35')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c b/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c index 961af9e7d5c7..06fd02084d7c 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c @@ -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),\ |