[PATCH 03/10] drm/amd/pp: Add new hw interface for auto wattman feature.
Rex Zhu
Rex.Zhu at amd.com
Sat Feb 24 13:56:00 UTC 2018
Auto wattman feature was used for adjust dpm
optimization settings based on workloads
Change-Id: I6e747beb7786c45f733c3c0f9ef9b48c98f0484c
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu at amd.com>
---
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
index a3beb31..d9aef88 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
@@ -347,6 +347,8 @@ struct pp_hwmgr_func {
long *input, uint32_t size);
int (*set_power_limit)(struct pp_hwmgr *hwmgr, uint32_t n);
int (*set_mmhub_powergating_by_smu)(struct pp_hwmgr *hwmgr);
+ int (*update_auto_wattman)(struct pp_hwmgr *hwmgr);
+ void (*start_auto_wattman)(struct pp_hwmgr *hwmgr, bool en);
};
struct pp_table_func {
--
1.9.1
More information about the amd-gfx
mailing list