mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
drm/amdgpu/powerplay/vega10: enable AVFS control via ppfeaturemask
Allow the user to disable AFVS via ppfeaturemask for debugging. Reviewed-by: Rex Zhu <Rex.Zhu@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
b4abff4bb2
commit
a19c3bea8e
@ -129,7 +129,8 @@ static void vega10_set_default_registry_data(struct pp_hwmgr *hwmgr)
|
||||
data->registry_data.thermal_support = 1;
|
||||
data->registry_data.fw_ctf_enabled = 1;
|
||||
|
||||
data->registry_data.avfs_support = 1;
|
||||
data->registry_data.avfs_support =
|
||||
hwmgr->feature_mask & PP_AVFS_MASK ? true : false;
|
||||
data->registry_data.led_dpm_enabled = 1;
|
||||
|
||||
data->registry_data.vr0hot_enabled = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user