Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/drm/radeon/
Dci_dpm.h232 u32 power_containment_features; member
Dci_dpm.c645 pi->power_containment_features = 0; in ci_enable_power_containment()
652 pi->power_containment_features |= POWERCONTAINMENT_FEATURE_BAPM; in ci_enable_power_containment()
660 pi->power_containment_features |= POWERCONTAINMENT_FEATURE_TDCLimit; in ci_enable_power_containment()
673 pi->power_containment_features |= POWERCONTAINMENT_FEATURE_PkgPwrLimit; in ci_enable_power_containment()
680 if (pi->caps_power_containment && pi->power_containment_features) { in ci_enable_power_containment()
681 if (pi->power_containment_features & POWERCONTAINMENT_FEATURE_TDCLimit) in ci_enable_power_containment()
684 if (pi->power_containment_features & POWERCONTAINMENT_FEATURE_BAPM) in ci_enable_power_containment()
687 if (pi->power_containment_features & POWERCONTAINMENT_FEATURE_PkgPwrLimit) in ci_enable_power_containment()
689 pi->power_containment_features = 0; in ci_enable_power_containment()
1714 if (pi->power_containment_features & POWERCONTAINMENT_FEATURE_PkgPwrLimit) { in ci_set_power_limit()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Dci_dpm.h233 u32 power_containment_features; member
Dci_dpm.c763 pi->power_containment_features = 0; in ci_enable_power_containment()
770 pi->power_containment_features |= POWERCONTAINMENT_FEATURE_BAPM; in ci_enable_power_containment()
778 pi->power_containment_features |= POWERCONTAINMENT_FEATURE_TDCLimit; in ci_enable_power_containment()
791 pi->power_containment_features |= POWERCONTAINMENT_FEATURE_PkgPwrLimit; in ci_enable_power_containment()
798 if (pi->caps_power_containment && pi->power_containment_features) { in ci_enable_power_containment()
799 if (pi->power_containment_features & POWERCONTAINMENT_FEATURE_TDCLimit) in ci_enable_power_containment()
802 if (pi->power_containment_features & POWERCONTAINMENT_FEATURE_BAPM) in ci_enable_power_containment()
805 if (pi->power_containment_features & POWERCONTAINMENT_FEATURE_PkgPwrLimit) in ci_enable_power_containment()
807 pi->power_containment_features = 0; in ci_enable_power_containment()
1842 if (pi->power_containment_features & POWERCONTAINMENT_FEATURE_PkgPwrLimit) { in ci_set_power_limit()