aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/include/kgd_pp_interface.h
diff options
context:
space:
mode:
authorLijo Lazar <[email protected]>2024-05-16 08:19:11 +0000
committerAlex Deucher <[email protected]>2024-05-17 21:40:39 +0000
commit83b90b138bc291769d212008d7b6952225a1eba0 (patch)
tree1465c97ac09cb88de9bf0f4a43d2b561ae99c222 /drivers/gpu/drm/amd/include/kgd_pp_interface.h
parentdrm/amd/pm: Add support to select pstate policy (diff)
downloadkernel-83b90b138bc291769d212008d7b6952225a1eba0.tar.gz
kernel-83b90b138bc291769d212008d7b6952225a1eba0.zip
drm/amd/pm: Add xgmi plpd policy to pm_policy
Add support to set XGMI PLPD policy levels through 'pm_policy/xgmi_plpd' sysfs node. Signed-off-by: Lijo Lazar <[email protected]> Acked-by: Alex Deucher <[email protected]> Reviewed-by: Asad Kamal <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/include/kgd_pp_interface.h')
-rw-r--r--drivers/gpu/drm/amd/include/kgd_pp_interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/kgd_pp_interface.h b/drivers/gpu/drm/amd/include/kgd_pp_interface.h
index 4adfe9f0fd92..ac76bcd81a5d 100644
--- a/drivers/gpu/drm/amd/include/kgd_pp_interface.h
+++ b/drivers/gpu/drm/amd/include/kgd_pp_interface.h
@@ -276,6 +276,7 @@ enum pp_xgmi_plpd_mode {
enum pp_pm_policy {
PP_PM_POLICY_NONE = -1,
PP_PM_POLICY_SOC_PSTATE = 0,
+ PP_PM_POLICY_XGMI_PLPD,
PP_PM_POLICY_NUM,
};