summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiaojian Du <Xiaojian.Du@amd.com>2020-10-26 19:39:29 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-10-30 00:58:44 -0400
commit802a46d384f81c1d14a74316d33be7aa323338e7 (patch)
treea1a47cb9467c2c8c4b63bd0b609d720b39a518c4
parent271ab489f755245e2b67a99412ac21b84bf68b9d (diff)
drm/amd/pm: enable the rest functions of swSMU for vangogh.
This patch is to enable the rest functions of swSMU for vangogh. Signed-off-by: Xiaojian Du <Xiaojian.Du@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-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 1a8a9cf993ce..39990790ed67 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
@@ -1111,9 +1111,6 @@ static int smu_hw_init(void *handle)
smu_set_gfx_cgpg(&adev->smu, true);
}
- if (adev->asic_type == CHIP_VANGOGH)
- return 0;
-
if (!smu->pm_enabled)
return 0;