summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
diff options
context:
space:
mode:
authorLe Ma <le.ma@amd.com>2023-09-20 10:17:12 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-09-28 22:36:23 +0300
commit3152d01e881602406ce5aa1f0ef154da56d69fc8 (patch)
tree95cc8c29e6bc6b284931b52a4bb310641f1556c9 /drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
parentc01c8523cb075a8d2869811d7662cc093e780760 (diff)
downloadlinux-3152d01e881602406ce5aa1f0ef154da56d69fc8.tar.xz
drm/amd/pm: deprecate allow_xgmi_power_down interface
Replace with set_plpd_mode uniformly for places to use. Signed-off-by: Le Ma <le.ma@amd.com> Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h')
-rw-r--r--drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h b/drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
index e17169f681e8..4f6df3558b9b 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
+++ b/drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
@@ -835,12 +835,6 @@ struct pptable_funcs {
int (*set_df_cstate)(struct smu_context *smu, enum pp_df_cstate state);
/**
- * @allow_xgmi_power_down: Enable/disable external global memory
- * interconnect power down.
- */
- int (*allow_xgmi_power_down)(struct smu_context *smu, bool en);
-
- /**
* @select_xgmi_plpd_policy: Select xgmi per-link power down policy.
*/
int (*select_xgmi_plpd_policy)(struct smu_context *smu,
@@ -1491,8 +1485,6 @@ int smu_set_gfx_power_up_by_imu(struct smu_context *smu);
int smu_set_ac_dc(struct smu_context *smu);
-int smu_allow_xgmi_power_down(struct smu_context *smu, bool en);
-
int smu_set_xgmi_plpd_mode(struct smu_context *smu,
enum pp_xgmi_plpd_mode mode);