drm/amd/powerplay: add missing smu_get_clk_info_from_vbios() call
authorEvan Quan <evan.quan@amd.com>
Tue, 25 Jun 2019 15:03:00 +0000 (23:03 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2019 16:22:28 +0000 (11:22 -0500)
This seems a merge error.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c

index a0fb363..31152d4 100644 (file)
@@ -820,6 +820,10 @@ 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.