/drivers/gpu/drm/radeon/ |
D | trinity_dpm.c | 995 (old_rps->ecclk != new_rps->ecclk)) { in trinity_set_vce_clock() 997 if (new_rps->evclk || new_rps->ecclk) in trinity_set_vce_clock() 1001 radeon_set_vce_clocks(rdev, new_rps->evclk, new_rps->ecclk); in trinity_set_vce_clock() 1505 u32 evclk, u32 ecclk, u16 *voltage) in trinity_get_vce_clock_voltage() argument 1512 if (((evclk == 0) && (ecclk == 0)) || in trinity_get_vce_clock_voltage() 1520 (ecclk <= table->entries[i].ecclk)) { in trinity_get_vce_clock_voltage() 1556 new_rps->ecclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].ecclk; in trinity_apply_state_adjust_rules() 1559 new_rps->ecclk = 0; in trinity_apply_state_adjust_rules() 1576 trinity_get_vce_clock_voltage(rdev, new_rps->evclk, new_rps->ecclk, &min_vce_voltage); in trinity_apply_state_adjust_rules()
|
D | radeon_asic.h | 698 int tn_set_vce_clocks(struct radeon_device *rdev, u32 evclk, u32 ecclk); 750 int si_set_vce_clocks(struct radeon_device *rdev, u32 evclk, u32 ecclk); 788 int cik_set_vce_clocks(struct radeon_device *rdev, u32 evclk, u32 ecclk);
|
D | si_dpm.c | 2918 u32 evclk, u32 ecclk, u16 *voltage) in si_get_vce_clock_voltage() argument 2925 if (((evclk == 0) && (ecclk == 0)) || in si_get_vce_clock_voltage() 2933 (ecclk <= table->entries[i].ecclk)) { in si_get_vce_clock_voltage() 2992 rps->ecclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].ecclk; in si_apply_state_adjust_rules() 2993 si_get_vce_clock_voltage(rdev, rps->evclk, rps->ecclk, in si_apply_state_adjust_rules() 2997 rps->ecclk = 0; in si_apply_state_adjust_rules() 5918 (old_rps->ecclk != new_rps->ecclk)) { in si_set_vce_clock() 5920 if (new_rps->evclk || new_rps->ecclk) in si_set_vce_clock() 5924 radeon_set_vce_clocks(rdev, new_rps->evclk, new_rps->ecclk); in si_set_vce_clock()
|
D | radeon.h | 1347 u32 ecclk; member 1440 u32 ecclk; member 1531 u32 ecclk; member 1967 int (*set_vce_clocks)(struct radeon_device *rdev, u32 evclk, u32 ecclk);
|
D | kv_dpm.c | 2156 new_rps->ecclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].ecclk; in kv_apply_state_adjust_rules() 2159 new_rps->ecclk = 0; in kv_apply_state_adjust_rules() 2223 new_rps->evclk || new_rps->ecclk; in kv_apply_state_adjust_rules()
|
D | r600_dpm.c | 1109 rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].ecclk = in r600_parse_extended_power_table() 1124 rdev->pm.dpm.vce_states[i].ecclk = in r600_parse_extended_power_table()
|
D | ni.c | 2722 int tn_set_vce_clocks(struct radeon_device *rdev, u32 evclk, u32 ecclk) in tn_set_vce_clocks() argument 2728 ecclk, false, ÷rs); in tn_set_vce_clocks()
|
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | smu8_hwmgr.c | 79 if (clock <= ptable->entries[i].ecclk) in smu8_get_eclk_level() 87 if (clock >= ptable->entries[i].ecclk) in smu8_get_eclk_level() 538 (i < vce_table->count) ? vce_table->entries[i].ecclk : 0; in smu8_upload_pptable_to_smu() 624 clock = table->entries[level].ecclk; in smu8_init_vce_limit() 626 clock = table->entries[table->count - 1].ecclk; in smu8_init_vce_limit() 1278 ptable->entries[ptable->count - 1].ecclk; in smu8_dpm_update_vce_dpm() 1722 uint32_t sclk, vclk, dclk, ecclk, tmp, activity_percent; in smu8_read_sensor() local 1780 ecclk = vce_table->entries[vce_index].ecclk; in smu8_read_sensor() 1781 *((uint32_t *)value) = ecclk; in smu8_read_sensor()
|
D | smu10_hwmgr.h | 132 uint32_t ecclk; member
|
D | smu8_hwmgr.h | 148 uint32_t ecclk; member
|
D | smu7_hwmgr.h | 74 uint32_t ecclk; member
|
D | vega10_hwmgr.h | 102 uint32_t ecclk; member
|
D | vega20_hwmgr.h | 119 uint32_t ecclk; member
|
D | processpptables.c | 1264 vce_table->entries[i].ecclk = ((unsigned long)entry->ucECClkHigh << 16) in get_vce_clock_voltage_limit_table() 1712 …vce_state->ecclk = ((uint32_t)vce_clock_info->ucECClkHigh << 16) | le16_to_cpu(vce_clock_info->usE… in get_vce_state_table_entry()
|
/drivers/gpu/drm/amd/pm/inc/ |
D | power_state.h | 181 unsigned long ecclk; member
|
D | amdgpu_dpm.h | 64 u32 ecclk; member 173 u32 ecclk; member
|
D | hwmgr.h | 103 uint32_t ecclk; member 157 uint32_t ecclk; member
|
/drivers/gpu/drm/amd/include/ |
D | kgd_pp_interface.h | 32 u32 ecclk; member
|
/drivers/gpu/drm/amd/pm/powerplay/ |
D | kv_dpm.c | 2210 new_rps->ecclk = adev->pm.dpm.vce_states[adev->pm.dpm.vce_level].ecclk; in kv_apply_state_adjust_rules() 2213 new_rps->ecclk = 0; in kv_apply_state_adjust_rules() 2277 new_rps->evclk || new_rps->ecclk; in kv_apply_state_adjust_rules() 3261 *equal &= ((cps->evclk == rps->evclk) && (cps->ecclk == rps->ecclk)); in kv_check_state_equal()
|
D | si_dpm.c | 3016 u32 evclk, u32 ecclk, u16 *voltage) in si_get_vce_clock_voltage() argument 3023 if (((evclk == 0) && (ecclk == 0)) || in si_get_vce_clock_voltage() 3031 (ecclk <= table->entries[i].ecclk)) { in si_get_vce_clock_voltage() 3447 rps->ecclk = adev->pm.dpm.vce_states[adev->pm.dpm.vce_level].ecclk; in si_apply_state_adjust_rules() 3448 si_get_vce_clock_voltage(adev, rps->evclk, rps->ecclk, in si_apply_state_adjust_rules() 3452 rps->ecclk = 0; in si_apply_state_adjust_rules() 6963 (old_rps->ecclk != new_rps->ecclk)) { in si_set_vce_clock() 6965 if (new_rps->evclk || new_rps->ecclk) { in si_set_vce_clock() 7975 *equal &= ((cps->evclk == rps->evclk) && (cps->ecclk == rps->ecclk)); in si_check_state_equal()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | si.c | 1782 static int si_set_vce_clocks(struct amdgpu_device *adev, u32 evclk, u32 ecclk) in si_set_vce_clocks() argument 1796 if (!evclk || !ecclk) { in si_set_vce_clocks() 1803 r = si_calc_upll_dividers(adev, evclk, ecclk, 125000, 250000, in si_set_vce_clocks()
|
D | cik.c | 1428 static int cik_set_vce_clocks(struct amdgpu_device *adev, u32 evclk, u32 ecclk) in cik_set_vce_clocks() argument 1436 ecclk, false, ÷rs); in cik_set_vce_clocks()
|
D | vi.c | 848 static int vi_set_vce_clocks(struct amdgpu_device *adev, u32 evclk, u32 ecclk) in vi_set_vce_clocks() argument 872 ecclk, false, ÷rs); in vi_set_vce_clocks()
|
D | nv.c | 370 static int nv_set_vce_clocks(struct amdgpu_device *adev, u32 evclk, u32 ecclk) in nv_set_vce_clocks() argument
|
/drivers/gpu/drm/amd/pm/ |
D | amdgpu_dpm.c | 521 adev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].ecclk = in amdgpu_parse_extended_power_table() 537 adev->pm.dpm.vce_states[i].ecclk = in amdgpu_parse_extended_power_table()
|