提交 80cfd1db 编写于 作者: E Evan Quan 提交者: Alex Deucher

drm/amd/powerplay: new hw manager interface for retrieving device specific thermal range

Added a new callback for asic specific backends to specify the temperature ranges.
Signed-off-by: NEvan Quan <evan.quan@amd.com>
Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 1357f0c5
......@@ -339,6 +339,8 @@ struct pp_hwmgr_func {
uint32_t mc_addr_low,
uint32_t mc_addr_hi,
uint32_t size);
int (*get_thermal_temperature_range)(struct pp_hwmgr *hwmgr,
struct PP_TemperatureRange *range);
};
struct pp_table_func {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册