drm/amdgpu/powerplay: rename smu7_upload_mc_firmware
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Apr 2018 23:09:39 +0000 (18:09 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:13 +0000 (13:43 -0500)
It doesn't actually upload any firmware is just
checks the version.  The actual upload happens in
the gmc modules.

Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c

index 97b7c2333f194e167fea8dfbdc172023b20f2e3a..ed43dd39b5d6cb4dacc2ae616b4815770dd62450 100644 (file)
@@ -4071,7 +4071,7 @@ static int smu7_check_states_equal(struct pp_hwmgr *hwmgr,
        return 0;
 }
 
-static int smu7_upload_mc_firmware(struct pp_hwmgr *hwmgr)
+static int smu7_check_mc_firmware(struct pp_hwmgr *hwmgr)
 {
        struct smu7_hwmgr *data = (struct smu7_hwmgr *)(hwmgr->backend);
 
@@ -4200,7 +4200,7 @@ static int smu7_setup_asic_task(struct pp_hwmgr *hwmgr)
 {
        int tmp_result, result = 0;
 
-       smu7_upload_mc_firmware(hwmgr);
+       smu7_check_mc_firmware(hwmgr);
 
        tmp_result = smu7_read_clock_registers(hwmgr);
        PP_ASSERT_WITH_CODE((0 == tmp_result),