drm/amdgpu: add amd fan ctrl mode enums.
Add common fan enums that can be used for both powerplay and dpm. Signed-off-by: Rex Zhu <Rex.Zhu@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
ded96c7389
commit
4f93f09e5c
|
@ -138,6 +138,12 @@ struct amd_pp_profile {
|
|||
uint8_t down_hyst;
|
||||
};
|
||||
|
||||
enum amd_fan_ctrl_mode {
|
||||
AMD_FAN_CTRL_NONE = 0,
|
||||
AMD_FAN_CTRL_MANUAL = 1,
|
||||
AMD_FAN_CTRL_AUTO = 2,
|
||||
};
|
||||
|
||||
/* CG flags */
|
||||
#define AMD_CG_SUPPORT_GFX_MGCG (1 << 0)
|
||||
#define AMD_CG_SUPPORT_GFX_MGLS (1 << 1)
|
||||
|
|
Loading…
Reference in New Issue