diff options
author | Evan Quan <evan.quan@amd.com> | 2020-06-08 19:49:08 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-07-01 01:59:19 -0400 |
commit | 947119a3f9c9f9212a89fe864f0c40e903b24af0 (patch) | |
tree | 9389a5e81888bf93a90eeaeb16e026eebc7094e0 /drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | |
parent | ce63d8f8b55d28ca00ab310b0cb3d507cbe4b14a (diff) |
drm/amd/powerplay: drop unnecessary wrapper .populate_smc_tables
Since .populate_smc_tables is just a wrapper of .set_default_dpm_table.
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/amdgpu_smu.c')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c index 89dd12536d58..78263de02678 100644 --- a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c +++ b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c @@ -813,7 +813,7 @@ static int smu_late_init(void *handle) * gfxclk, memclk, dcefclk, and etc. And enable the DPM feature for each * type of clks. */ - ret = smu_populate_smc_tables(smu); + ret = smu_set_default_dpm_table(smu); if (ret) { dev_err(adev->dev, "Failed to setup default dpm clock tables!\n"); return ret; |