Home
last modified time | relevance | path

Searched refs:power_containment_features (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/amd/powerplay/hwmgr/
Dsmu7_powertune.c1095 if (data->power_containment_features & in smu7_set_power_limit()
1118 data->power_containment_features = 0; in smu7_enable_power_containment()
1131 data->power_containment_features |= in smu7_enable_power_containment()
1143 data->power_containment_features |= in smu7_enable_power_containment()
1160 data->power_containment_features) { in smu7_disable_power_containment()
1163 if (data->power_containment_features & in smu7_disable_power_containment()
1172 if (data->power_containment_features & in smu7_disable_power_containment()
1181 if (data->power_containment_features & in smu7_disable_power_containment()
1189 data->power_containment_features = 0; in smu7_disable_power_containment()
Dsmu10_hwmgr.h235 uint32_t power_containment_features; member
Dsmu8_hwmgr.h251 uint32_t power_containment_features; member
Dsmu7_hwmgr.h275 uint32_t power_containment_features; member
/Linux-v4.19/drivers/gpu/drm/radeon/
Dci_dpm.h232 u32 power_containment_features; member
Dci_dpm.c646 pi->power_containment_features = 0; in ci_enable_power_containment()
653 pi->power_containment_features |= POWERCONTAINMENT_FEATURE_BAPM; in ci_enable_power_containment()
661 pi->power_containment_features |= POWERCONTAINMENT_FEATURE_TDCLimit; in ci_enable_power_containment()
674 pi->power_containment_features |= POWERCONTAINMENT_FEATURE_PkgPwrLimit; in ci_enable_power_containment()
681 if (pi->caps_power_containment && pi->power_containment_features) { in ci_enable_power_containment()
682 if (pi->power_containment_features & POWERCONTAINMENT_FEATURE_TDCLimit) in ci_enable_power_containment()
685 if (pi->power_containment_features & POWERCONTAINMENT_FEATURE_BAPM) in ci_enable_power_containment()
688 if (pi->power_containment_features & POWERCONTAINMENT_FEATURE_PkgPwrLimit) in ci_enable_power_containment()
690 pi->power_containment_features = 0; in ci_enable_power_containment()
1742 if (pi->power_containment_features & POWERCONTAINMENT_FEATURE_PkgPwrLimit) { in ci_set_power_limit()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Dci_dpm.h234 u32 power_containment_features; member
Dci_dpm.c771 pi->power_containment_features = 0; in ci_enable_power_containment()
778 pi->power_containment_features |= POWERCONTAINMENT_FEATURE_BAPM; in ci_enable_power_containment()
786 pi->power_containment_features |= POWERCONTAINMENT_FEATURE_TDCLimit; in ci_enable_power_containment()
799 pi->power_containment_features |= POWERCONTAINMENT_FEATURE_PkgPwrLimit; in ci_enable_power_containment()
806 if (pi->caps_power_containment && pi->power_containment_features) { in ci_enable_power_containment()
807 if (pi->power_containment_features & POWERCONTAINMENT_FEATURE_TDCLimit) in ci_enable_power_containment()
810 if (pi->power_containment_features & POWERCONTAINMENT_FEATURE_BAPM) in ci_enable_power_containment()
813 if (pi->power_containment_features & POWERCONTAINMENT_FEATURE_PkgPwrLimit) in ci_enable_power_containment()
815 pi->power_containment_features = 0; in ci_enable_power_containment()
1876 if (pi->power_containment_features & POWERCONTAINMENT_FEATURE_PkgPwrLimit) { in ci_set_power_limit()