aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Liu <[email protected]>2021-01-07 11:05:05 +0800
committerAlex Deucher <[email protected]>2021-06-04 16:03:15 -0400
commit647f007937a624ed7e213bb89deb0903b1d80799 (patch)
treebc25d42fb30b937272762bf51327d8d68769a0a9
parentfd0a316e21c2eea6e200e570b0d9cb600ad3e748 (diff)
drm/amdgpu/pm: enable smu_hw_init for yellow carp
This patch is to enable smu_hw_init for yellow carp. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
index 6a41f78ac376..bb2c42d8afed 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
@@ -1310,9 +1310,6 @@ static int smu_hw_init(void *handle)
smu_set_gfx_cgpg(&adev->smu, true);
}
- if (adev->asic_type == CHIP_YELLOW_CARP)
- return 0;
-
if (!smu->pm_enabled)
return 0;