Home
last modified time | relevance | path

Searched refs:dpm_state (Results 1 – 9 of 9) sorted by relevance

/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega12_hwmgr.c477 static void vega12_init_dpm_state(struct vega12_dpm_state *dpm_state) in vega12_init_dpm_state() argument
479 dpm_state->soft_min_level = 0x0; in vega12_init_dpm_state()
480 dpm_state->soft_max_level = 0xffff; in vega12_init_dpm_state()
481 dpm_state->hard_min_level = 0x0; in vega12_init_dpm_state()
482 dpm_state->hard_max_level = 0xffff; in vega12_init_dpm_state()
655 vega12_init_dpm_state(&(dpm_table->dpm_state)); in vega12_setup_default_dpm_tables()
668 vega12_init_dpm_state(&(dpm_table->dpm_state)); in vega12_setup_default_dpm_tables()
681 vega12_init_dpm_state(&(dpm_table->dpm_state)); in vega12_setup_default_dpm_tables()
694 vega12_init_dpm_state(&(dpm_table->dpm_state)); in vega12_setup_default_dpm_tables()
707 vega12_init_dpm_state(&(dpm_table->dpm_state)); in vega12_setup_default_dpm_tables()
[all …]
Dvega20_hwmgr.c518 static void vega20_init_dpm_state(struct vega20_dpm_state *dpm_state) in vega20_init_dpm_state() argument
520 dpm_state->soft_min_level = 0x0; in vega20_init_dpm_state()
521 dpm_state->soft_max_level = VG20_CLOCK_MAX_DEFAULT; in vega20_init_dpm_state()
522 dpm_state->hard_min_level = 0x0; in vega20_init_dpm_state()
523 dpm_state->hard_max_level = VG20_CLOCK_MAX_DEFAULT; in vega20_init_dpm_state()
653 vega20_init_dpm_state(&(dpm_table->dpm_state)); in vega20_setup_default_dpm_tables()
660 vega20_init_dpm_state(&(dpm_table->dpm_state)); in vega20_setup_default_dpm_tables()
667 vega20_init_dpm_state(&(dpm_table->dpm_state)); in vega20_setup_default_dpm_tables()
680 vega20_init_dpm_state(&(dpm_table->dpm_state)); in vega20_setup_default_dpm_tables()
693 vega20_init_dpm_state(&(dpm_table->dpm_state)); in vega20_setup_default_dpm_tables()
[all …]
Dvega10_hwmgr.c1223 static void vega10_init_dpm_state(struct vega10_dpm_state *dpm_state) in vega10_init_dpm_state() argument
1225 dpm_state->soft_min_level = 0xff; in vega10_init_dpm_state()
1226 dpm_state->soft_max_level = 0xff; in vega10_init_dpm_state()
1227 dpm_state->hard_min_level = 0xff; in vega10_init_dpm_state()
1228 dpm_state->hard_max_level = 0xff; in vega10_init_dpm_state()
1350 vega10_init_dpm_state(&(dpm_table->dpm_state)); in vega10_setup_default_dpm_tables()
1359 vega10_init_dpm_state(&(dpm_table->dpm_state)); in vega10_setup_default_dpm_tables()
1370 vega10_init_dpm_state(&(dpm_table->dpm_state)); in vega10_setup_default_dpm_tables()
1385 vega10_init_dpm_state(&(dpm_table->dpm_state)); in vega10_setup_default_dpm_tables()
1401 vega10_init_dpm_state(&(dpm_table->dpm_state)); in vega10_setup_default_dpm_tables()
[all …]
Dvega12_hwmgr.h109 struct vega12_dpm_state dpm_state; member
Dvega10_hwmgr.h135 struct vega10_dpm_state dpm_state; member
Dvega20_hwmgr.h161 struct vega20_dpm_state dpm_state; member
/drivers/gpu/drm/radeon/
Dradeon_pm.c855 enum radeon_pm_state_type dpm_state = POWER_STATE_TYPE_INTERNAL_THERMAL; in radeon_dpm_thermal_work_handler() local
865 dpm_state = rdev->pm.dpm.user_state; in radeon_dpm_thermal_work_handler()
869 dpm_state = rdev->pm.dpm.user_state; in radeon_dpm_thermal_work_handler()
872 if (dpm_state == POWER_STATE_TYPE_INTERNAL_THERMAL) in radeon_dpm_thermal_work_handler()
876 rdev->pm.dpm.state = dpm_state; in radeon_dpm_thermal_work_handler()
903 enum radeon_pm_state_type dpm_state) in radeon_dpm_pick_power_state() argument
913 if (dpm_state == POWER_STATE_TYPE_PERFORMANCE) in radeon_dpm_pick_power_state()
914 dpm_state = POWER_STATE_TYPE_INTERNAL_3DPERF; in radeon_dpm_pick_power_state()
916 if (dpm_state == POWER_STATE_TYPE_BALANCED) in radeon_dpm_pick_power_state()
917 dpm_state = POWER_STATE_TYPE_PERFORMANCE; in radeon_dpm_pick_power_state()
[all …]
/drivers/gpu/drm/amd/pm/
Damdgpu_dpm.c1314 enum amd_pm_state_type dpm_state = POWER_STATE_TYPE_INTERNAL_THERMAL; in amdgpu_dpm_thermal_work_handler() local
1324 dpm_state = adev->pm.dpm.user_state; in amdgpu_dpm_thermal_work_handler()
1328 dpm_state = adev->pm.dpm.user_state; in amdgpu_dpm_thermal_work_handler()
1331 if (dpm_state == POWER_STATE_TYPE_INTERNAL_THERMAL) in amdgpu_dpm_thermal_work_handler()
1335 adev->pm.dpm.state = dpm_state; in amdgpu_dpm_thermal_work_handler()
1342 enum amd_pm_state_type dpm_state) in amdgpu_dpm_pick_power_state() argument
1359 if (dpm_state == POWER_STATE_TYPE_PERFORMANCE) in amdgpu_dpm_pick_power_state()
1360 dpm_state = POWER_STATE_TYPE_INTERNAL_3DPERF; in amdgpu_dpm_pick_power_state()
1362 if (dpm_state == POWER_STATE_TYPE_BALANCED) in amdgpu_dpm_pick_power_state()
1363 dpm_state = POWER_STATE_TYPE_PERFORMANCE; in amdgpu_dpm_pick_power_state()
[all …]
/drivers/gpu/drm/amd/pm/swsmu/smu11/
Darcturus_ppt.h48 struct arcturus_dpm_state dpm_state; member