mirror of https://gitee.com/openkylin/linux.git
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:
parent
8667eb64a6
commit
e969f29148
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue