Home
last modified time | relevance | path

Searched refs:cac_tdp_table (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/amd/pm/legacy-dpm/
Dlegacy_dpm.c607 adev->pm.dpm.dyn_state.cac_tdp_table = in amdgpu_parse_extended_power_table()
609 if (!adev->pm.dpm.dyn_state.cac_tdp_table) { in amdgpu_parse_extended_power_table()
617 adev->pm.dpm.dyn_state.cac_tdp_table->maximum_power_delivery_limit = in amdgpu_parse_extended_power_table()
624 adev->pm.dpm.dyn_state.cac_tdp_table->maximum_power_delivery_limit = 255; in amdgpu_parse_extended_power_table()
627 adev->pm.dpm.dyn_state.cac_tdp_table->tdp = le16_to_cpu(pt->usTDP); in amdgpu_parse_extended_power_table()
628 adev->pm.dpm.dyn_state.cac_tdp_table->configurable_tdp = in amdgpu_parse_extended_power_table()
630 adev->pm.dpm.dyn_state.cac_tdp_table->tdc = le16_to_cpu(pt->usTDC); in amdgpu_parse_extended_power_table()
631 adev->pm.dpm.dyn_state.cac_tdp_table->battery_power_limit = in amdgpu_parse_extended_power_table()
633 adev->pm.dpm.dyn_state.cac_tdp_table->small_power_limit = in amdgpu_parse_extended_power_table()
635 adev->pm.dpm.dyn_state.cac_tdp_table->low_cac_leakage = in amdgpu_parse_extended_power_table()
[all …]
/Linux-v6.6/drivers/gpu/drm/radeon/
Dr600_dpm.c1260 rdev->pm.dpm.dyn_state.cac_tdp_table = in r600_parse_extended_power_table()
1262 if (!rdev->pm.dpm.dyn_state.cac_tdp_table) { in r600_parse_extended_power_table()
1270 rdev->pm.dpm.dyn_state.cac_tdp_table->maximum_power_delivery_limit = in r600_parse_extended_power_table()
1277 rdev->pm.dpm.dyn_state.cac_tdp_table->maximum_power_delivery_limit = 255; in r600_parse_extended_power_table()
1280 rdev->pm.dpm.dyn_state.cac_tdp_table->tdp = le16_to_cpu(pt->usTDP); in r600_parse_extended_power_table()
1281 rdev->pm.dpm.dyn_state.cac_tdp_table->configurable_tdp = in r600_parse_extended_power_table()
1283 rdev->pm.dpm.dyn_state.cac_tdp_table->tdc = le16_to_cpu(pt->usTDC); in r600_parse_extended_power_table()
1284 rdev->pm.dpm.dyn_state.cac_tdp_table->battery_power_limit = in r600_parse_extended_power_table()
1286 rdev->pm.dpm.dyn_state.cac_tdp_table->small_power_limit = in r600_parse_extended_power_table()
1288 rdev->pm.dpm.dyn_state.cac_tdp_table->low_cac_leakage = in r600_parse_extended_power_table()
[all …]
Dci_dpm.c314 tdc_limit = rdev->pm.dpm.dyn_state.cac_tdp_table->tdc * 256; in ci_populate_tdc_limit()
394 struct radeon_cac_tdp_table *cac_tdp_table = in ci_populate_bapm_vddc_base_leakage_sidd() local
395 rdev->pm.dpm.dyn_state.cac_tdp_table; in ci_populate_bapm_vddc_base_leakage_sidd()
397 hi_sidd = cac_tdp_table->high_cac_leakage / 100 * 256; in ci_populate_bapm_vddc_base_leakage_sidd()
398 lo_sidd = cac_tdp_table->low_cac_leakage / 100 * 256; in ci_populate_bapm_vddc_base_leakage_sidd()
411 struct radeon_cac_tdp_table *cac_tdp_table = in ci_populate_bapm_parameters_in_dpm_table() local
412 rdev->pm.dpm.dyn_state.cac_tdp_table; in ci_populate_bapm_parameters_in_dpm_table()
418 dpm_table->DefaultTdp = cac_tdp_table->tdp * 256; in ci_populate_bapm_parameters_in_dpm_table()
419 dpm_table->TargetTdp = cac_tdp_table->configurable_tdp * 256; in ci_populate_bapm_parameters_in_dpm_table()
646 struct radeon_cac_tdp_table *cac_tdp_table = in ci_enable_power_containment() local
[all …]
Dradeon.h1488 struct radeon_cac_tdp_table *cac_tdp_table; member
/Linux-v6.6/drivers/gpu/drm/amd/pm/inc/
Damdgpu_dpm.h218 struct amdgpu_cac_tdp_table *cac_tdp_table; member
/Linux-v6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dprocess_pptables_v1_0.c569 struct phm_cac_tdp_table **cac_tdp_table, in get_cac_tdp_table() argument
709 *cac_tdp_table = tdp_table; in get_cac_tdp_table()