]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amd/pm: enable the rest functions of swSMU for vangogh.
authorXiaojian Du <Xiaojian.Du@amd.com>
Mon, 26 Oct 2020 11:39:29 +0000 (19:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Oct 2020 04:58:44 +0000 (00:58 -0400)
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>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c

index 1a8a9cf993ce2eea566a31111e7694a23b91dc41..39990790ed67687b4a481e495fc1f12746620c39 100644 (file)
@@ -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;