drm/amd/powerplay: drop redundant smu call
smu_get_clk_info_from_vbios() was called repeatedly. It seems a merge error. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -636,10 +636,6 @@ static int smu_smc_table_hw_init(struct smu_context *smu,
|
||||
* check if the format_revision in vbios is up to pptable header
|
||||
* version, and the structure size is not 0.
|
||||
*/
|
||||
ret = smu_get_clk_info_from_vbios(smu);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
ret = smu_check_pptable(smu);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user