mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-04 03:33:58 +08:00
drm/amd/powerplay: delete SMUM_FIELD_MASK
repeated defining in hwmgr.h Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
0041e6007e
commit
63196fe79b
@ -205,11 +205,11 @@ static int cz_load_mec_firmware(struct pp_hwmgr *hwmgr)
|
||||
cgs_write_register(hwmgr->device, mmCP_CPC_IC_BASE_CNTL, tmp);
|
||||
|
||||
reg_data = smu_lower_32_bits(info.mc_addr) &
|
||||
SMUM_FIELD_MASK(CP_CPC_IC_BASE_LO, IC_BASE_LO);
|
||||
PHM_FIELD_MASK(CP_CPC_IC_BASE_LO, IC_BASE_LO);
|
||||
cgs_write_register(hwmgr->device, mmCP_CPC_IC_BASE_LO, reg_data);
|
||||
|
||||
reg_data = smu_upper_32_bits(info.mc_addr) &
|
||||
SMUM_FIELD_MASK(CP_CPC_IC_BASE_HI, IC_BASE_HI);
|
||||
PHM_FIELD_MASK(CP_CPC_IC_BASE_HI, IC_BASE_HI);
|
||||
cgs_write_register(hwmgr->device, mmCP_CPC_IC_BASE_HI, reg_data);
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user