mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 02:45:34 +07:00
drm/amd/display: Move CLK_BASE_INNER macro
This macro is specificly used by RV1. Move it to the appropriate location. Signed-off-by: Eric Yang <Eric.Yang2@amd.com> Reviewed-by: Aric Cyr <Aric.Cyr@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
48ea75f99a
commit
a7f90cbc0e
@ -36,6 +36,10 @@
|
||||
|
||||
#include "dce/dce_clk_mgr.h"
|
||||
|
||||
#define CLK_BASE_INNER(inst) \
|
||||
CLK_BASE__INST ## inst ## _SEG0
|
||||
|
||||
|
||||
#define CLK_REG(reg_name, block, inst)\
|
||||
CLK_BASE(mm ## block ## _ ## inst ## _ ## reg_name ## _BASE_IDX) + \
|
||||
mm ## block ## _ ## inst ## _ ## reg_name
|
||||
|
@ -49,8 +49,7 @@
|
||||
clk_mgr->ctx->logger
|
||||
|
||||
|
||||
#define CLK_BASE_INNER(inst) \
|
||||
CLK_BASE__INST ## inst ## _SEG0
|
||||
|
||||
|
||||
#define CLK_BASE(inst) \
|
||||
CLK_BASE_INNER(inst)
|
||||
|
Loading…
Reference in New Issue
Block a user