diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2017-09-20 17:31:07 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 15:14:35 -0400 |
commit | 0041e6007ecb45f4d48f5a445ace73c9196a5f82 (patch) | |
tree | df7b82d7c3f34a5362622389dc9351d8a281330c /drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c | |
parent | 515113f5e5835ee3ecb00d3da292ca67b5e7a972 (diff) | |
download | op-kernel-dev-0041e6007ecb45f4d48f5a445ace73c9196a5f82.zip op-kernel-dev-0041e6007ecb45f4d48f5a445ace73c9196a5f82.tar.gz |
drm/amd/powerplay: delete SMUM_WAIT_INDIRECT_FIELD
repeated defining in hwmgr.h
use PHM_WAIT_INDIRECT_FIELD instand.
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>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c index b729a39..78aa112 100644 --- a/drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c +++ b/drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c @@ -80,7 +80,7 @@ static int iceland_smu_start_smc(struct pp_hwmgr *hwmgr) /* de-assert reset */ iceland_start_smc(hwmgr); - SMUM_WAIT_INDIRECT_FIELD(hwmgr, SMC_IND, FIRMWARE_FLAGS, + PHM_WAIT_INDIRECT_FIELD(hwmgr, SMC_IND, FIRMWARE_FLAGS, INTERRUPTS_ENABLED, 1); return 0; |