[PATCH 33/89] drm/amdgpu/pm: enable smu_hw_init for yellow carp
Alex Deucher
alexander.deucher at amd.com
Wed Jun 2 16:48:12 UTC 2021
From: Aaron Liu <aaron.liu at amd.com>
This patch is to enable smu_hw_init for yellow carp.
Signed-off-by: Aaron Liu <aaron.liu at amd.com>
Reviewed-by: Huang Rui <ray.huang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 3 ---
1 file changed, 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;
--
2.31.1
More information about the amd-gfx
mailing list