drm/amdgpu: remove unused functions
authorNirmoy Das <nirmoy.das@amd.com>
Thu, 18 Jun 2020 14:46:17 +0000 (16:46 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:23 +0000 (01:59 -0400)
Remove unused amdgpu_xgmi_hive_try_lock() and smu7_reset_asic_tasks().

Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c

index 91837a9913193cb737e036e0c93a424642f6e123..e3a3755cb999a3b973f7b919a1228f20978d721e 100644 (file)
@@ -144,11 +144,6 @@ static const struct amdgpu_pcs_ras_field wafl_pcs_ras_fields[] = {
         SOC15_REG_FIELD(PCS_GOPX1_0_PCS_GOPX1_PCS_ERROR_STATUS, RecoveryRelockAttemptErr)},
 };
 
-void *amdgpu_xgmi_hive_try_lock(struct amdgpu_hive_info *hive)
-{
-       return &hive->device_list;
-}
-
 /**
  * DOC: AMDGPU XGMI Support
  *
index 2c9cac8c170c18fe38b1a97ee5081e2e9c084129..ffe05b7cc1f0ae0a566c389443a94b20b7178cae 100644 (file)
@@ -1548,12 +1548,6 @@ static int smu7_disable_dpm_tasks(struct pp_hwmgr *hwmgr)
        return result;
 }
 
-int smu7_reset_asic_tasks(struct pp_hwmgr *hwmgr)
-{
-
-       return 0;
-}
-
 static void smu7_init_dpm_defaults(struct pp_hwmgr *hwmgr)
 {
        struct smu7_hwmgr *data = (struct smu7_hwmgr *)(hwmgr->backend);