From: Xiaojian Du Date: Mon, 26 Oct 2020 11:39:29 +0000 (+0800) Subject: drm/amd/pm: enable the rest functions of swSMU for vangogh. X-Git-Tag: baikal/mips/sdk5.9~12066^2~12^2~104 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=4ccd98dbc37af2e119458276317037af96bfda50;p=kernel.git 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 Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c index 1a8a9cf993ce2..39990790ed676 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;