aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h
diff options
context:
space:
mode:
authorLijo Lazar <[email protected]>2024-03-04 13:25:27 +0000
committerAlex Deucher <[email protected]>2024-05-17 21:40:39 +0000
commit546e6309d14cfdc584b92eb6f2274618e629b3f5 (patch)
tree2700e9975de8668163789229d64df95b69d76982 /drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h
parentdrm/amd/pm: Add xgmi plpd to arcturus pm_policy (diff)
downloadkernel-546e6309d14cfdc584b92eb6f2274618e629b3f5.tar.gz
kernel-546e6309d14cfdc584b92eb6f2274618e629b3f5.zip
drm/amd/pm: Remove legacy interface for xgmi plpd
Replace the legacy interface with amdgpu_dpm_set_pm_policy to set XGMI PLPD mode. Also, xgmi_plpd_policy sysfs node is not used by any client. Remove that as well. Signed-off-by: Lijo Lazar <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Reviewed-by: Asad Kamal <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h')
-rw-r--r--drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h b/drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h
index 448ba3a14584..c12ced32f780 100644
--- a/drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h
+++ b/drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h
@@ -77,7 +77,6 @@ enum amdgpu_device_attr_id {
device_attr_id__smartshift_apu_power,
device_attr_id__smartshift_dgpu_power,
device_attr_id__smartshift_bias,
- device_attr_id__xgmi_plpd_policy,
device_attr_id__pm_metrics,
device_attr_id__count,
};