diff options
author | Evan Quan <evan.quan@amd.com> | 2020-07-07 16:18:55 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-07-21 15:37:38 -0400 |
commit | caad2613dc4bd7396f1f0d32f5f0e650f9d8ebc4 (patch) | |
tree | 7e867bcc67fac2bbd860fd566933b3d3b597c87c /drivers/gpu/drm/amd/powerplay/smu_v11_0.c | |
parent | e7a95eea22505d1e991141b289af35d485937c03 (diff) | |
download | linux-caad2613dc4bd7396f1f0d32f5f0e650f9d8ebc4.tar.bz2 |
drm/amd/powerplay: move table setting common code to smu_cmn.c
As they are shared by all ASICs.
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/smu_v11_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/smu_v11_0.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/smu_v11_0.c b/drivers/gpu/drm/amd/powerplay/smu_v11_0.c index 72fe5c8584dc..0c0303a05f16 100644 --- a/drivers/gpu/drm/amd/powerplay/smu_v11_0.c +++ b/drivers/gpu/drm/amd/powerplay/smu_v11_0.c @@ -764,17 +764,6 @@ int smu_v11_0_notify_memory_pool_location(struct smu_context *smu) return ret; } -int smu_v11_0_write_pptable(struct smu_context *smu) -{ - struct smu_table_context *table_context = &smu->smu_table; - int ret = 0; - - ret = smu_update_table(smu, SMU_TABLE_PPTABLE, 0, - table_context->driver_pptable, true); - - return ret; -} - int smu_v11_0_set_min_deep_sleep_dcefclk(struct smu_context *smu, uint32_t clk) { int ret; |