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: Evan Quan <evan.quan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
1357f0c5ac
commit
80cfd1db67
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue