Lines Matching refs:dpm_state
826 enum amd_pm_state_type dpm_state = POWER_STATE_TYPE_INTERNAL_THERMAL; in amdgpu_dpm_thermal_work_handler() local
836 dpm_state = adev->pm.dpm.user_state; in amdgpu_dpm_thermal_work_handler()
840 dpm_state = adev->pm.dpm.user_state; in amdgpu_dpm_thermal_work_handler()
843 if (dpm_state == POWER_STATE_TYPE_INTERNAL_THERMAL) in amdgpu_dpm_thermal_work_handler()
847 adev->pm.dpm.state = dpm_state; in amdgpu_dpm_thermal_work_handler()
854 enum amd_pm_state_type dpm_state) in amdgpu_dpm_pick_power_state() argument
871 if (dpm_state == POWER_STATE_TYPE_PERFORMANCE) in amdgpu_dpm_pick_power_state()
872 dpm_state = POWER_STATE_TYPE_INTERNAL_3DPERF; in amdgpu_dpm_pick_power_state()
874 if (dpm_state == POWER_STATE_TYPE_BALANCED) in amdgpu_dpm_pick_power_state()
875 dpm_state = POWER_STATE_TYPE_PERFORMANCE; in amdgpu_dpm_pick_power_state()
882 switch (dpm_state) { in amdgpu_dpm_pick_power_state()
956 switch (dpm_state) { in amdgpu_dpm_pick_power_state()
958 dpm_state = POWER_STATE_TYPE_INTERNAL_UVD_HD; in amdgpu_dpm_pick_power_state()
966 dpm_state = POWER_STATE_TYPE_PERFORMANCE; in amdgpu_dpm_pick_power_state()
970 dpm_state = POWER_STATE_TYPE_INTERNAL_ACPI; in amdgpu_dpm_pick_power_state()
973 dpm_state = POWER_STATE_TYPE_BATTERY; in amdgpu_dpm_pick_power_state()
978 dpm_state = POWER_STATE_TYPE_PERFORMANCE; in amdgpu_dpm_pick_power_state()
991 enum amd_pm_state_type dpm_state; in amdgpu_dpm_change_power_state_locked() local
1004 dpm_state = adev->pm.dpm.state; in amdgpu_dpm_change_power_state_locked()
1006 ps = amdgpu_dpm_pick_power_state(adev, dpm_state); in amdgpu_dpm_change_power_state_locked()