Home
last modified time | relevance | path

Searched refs:near_tdp_limit (Results 1 – 7 of 7) sorted by relevance

/drivers/gpu/drm/radeon/
Dni_dpm.c1382 u32 near_tdp_limit) in ni_calculate_power_boost_limit() argument
1420 n = ((u64)near_tdp_limit * ((u64)std_vddc_med * (u64)std_vddc_med) * 90); in ni_calculate_power_boost_limit()
1436 u32 *near_tdp_limit) in ni_calculate_adjusted_tdp_limits() argument
1443 *near_tdp_limit = rdev->pm.dpm.near_tdp_limit + (*tdp_limit - rdev->pm.dpm.tdp_limit); in ni_calculate_adjusted_tdp_limits()
1446 *near_tdp_limit = rdev->pm.dpm.near_tdp_limit - (rdev->pm.dpm.tdp_limit - *tdp_limit); in ni_calculate_adjusted_tdp_limits()
1462 u32 near_tdp_limit; in ni_populate_smc_tdp_limits() local
1475 &near_tdp_limit); in ni_populate_smc_tdp_limits()
1480 near_tdp_limit); in ni_populate_smc_tdp_limits()
1485 cpu_to_be32(ni_scale_power_for_smc(near_tdp_limit, scaling_factor)); in ni_populate_smc_tdp_limits()
1487 cpu_to_be32(ni_scale_power_for_smc((near_tdp_limit * NISLANDS_DPM2_TDP_SAFE_LIMIT_PERCENT) / 100, in ni_populate_smc_tdp_limits()
[all …]
Dsi_dpm.c1820 u32 p_limit2 = rdev->pm.dpm.near_tdp_limit; in si_update_dte_from_pl2()
2106 u32 *near_tdp_limit) in si_calculate_adjusted_tdp_limits() argument
2117 *near_tdp_limit = rdev->pm.dpm.near_tdp_limit_adjusted + (*tdp_limit - rdev->pm.dpm.tdp_limit); in si_calculate_adjusted_tdp_limits()
2122 *near_tdp_limit = rdev->pm.dpm.near_tdp_limit_adjusted - adjustment_delta; in si_calculate_adjusted_tdp_limits()
2124 *near_tdp_limit = 0; in si_calculate_adjusted_tdp_limits()
2129 if ((*near_tdp_limit <= 0) || (*near_tdp_limit > *tdp_limit)) in si_calculate_adjusted_tdp_limits()
2147 u32 near_tdp_limit; in si_populate_smc_tdp_limits() local
2159 &near_tdp_limit); in si_populate_smc_tdp_limits()
2166 cpu_to_be32(si_scale_power_for_smc(near_tdp_limit, scaling_factor) * 1000); in si_populate_smc_tdp_limits()
2168 …cpu_to_be32(si_scale_power_for_smc((near_tdp_limit * SISLANDS_DPM2_TDP_SAFE_LIMIT_PERCENT) / 100, … in si_populate_smc_tdp_limits()
Dr600_dpm.c1021 rdev->pm.dpm.near_tdp_limit = le32_to_cpu(power_info->pplib5.ulNearTDPLimit); in r600_parse_extended_power_table()
1022 rdev->pm.dpm.near_tdp_limit_adjusted = rdev->pm.dpm.near_tdp_limit; in r600_parse_extended_power_table()
Dradeon.h1600 u32 near_tdp_limit; member
/drivers/gpu/drm/amd/pm/inc/
Damdgpu_dpm.h402 u32 near_tdp_limit; member
/drivers/gpu/drm/amd/pm/powerplay/
Dsi_dpm.c1913 u32 p_limit2 = adev->pm.dpm.near_tdp_limit; in si_update_dte_from_pl2()
2198 u32 *near_tdp_limit) in si_calculate_adjusted_tdp_limits() argument
2209 *near_tdp_limit = adev->pm.dpm.near_tdp_limit_adjusted + (*tdp_limit - adev->pm.dpm.tdp_limit); in si_calculate_adjusted_tdp_limits()
2214 *near_tdp_limit = adev->pm.dpm.near_tdp_limit_adjusted - adjustment_delta; in si_calculate_adjusted_tdp_limits()
2216 *near_tdp_limit = 0; in si_calculate_adjusted_tdp_limits()
2221 if ((*near_tdp_limit <= 0) || (*near_tdp_limit > *tdp_limit)) in si_calculate_adjusted_tdp_limits()
2239 u32 near_tdp_limit; in si_populate_smc_tdp_limits() local
2251 &near_tdp_limit); in si_populate_smc_tdp_limits()
2258 cpu_to_be32(si_scale_power_for_smc(near_tdp_limit, scaling_factor) * 1000); in si_populate_smc_tdp_limits()
2260 …cpu_to_be32(si_scale_power_for_smc((near_tdp_limit * SISLANDS_DPM2_TDP_SAFE_LIMIT_PERCENT) / 100, … in si_populate_smc_tdp_limits()
/drivers/gpu/drm/amd/pm/
Damdgpu_dpm.c433 adev->pm.dpm.near_tdp_limit = le32_to_cpu(power_info->pplib5.ulNearTDPLimit); in amdgpu_parse_extended_power_table()
434 adev->pm.dpm.near_tdp_limit_adjusted = adev->pm.dpm.near_tdp_limit; in amdgpu_parse_extended_power_table()