diff options
author | Kevin Wang <kevin1.wang@amd.com> | 2019-03-19 11:00:41 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-21 18:59:25 -0500 |
commit | 5586348236f81de739f8d818a305d7034651bb00 (patch) | |
tree | d4153989f0ad649d94fcfb2aec3963217eafa547 | |
parent | b55c83a7438da50126e6a2c98dcf4476ce2fd0fd (diff) |
drm/amd/powerplay: remove duplicate code from smu hw init
remove duplicate code (un-used) in smu
Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c index 2de67e16e5e3..a48ca6a4353c 100644 --- a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c +++ b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c @@ -637,10 +637,6 @@ static int smu_smc_table_hw_init(struct smu_context *smu, if (ret) return ret; - ret = smu_get_clk_info_from_vbios(smu); - if (ret) - return ret; - /* * check if the format_revision in vbios is up to pptable header * version, and the structure size is not 0. |