Home
last modified time | relevance | path

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

/linux-6.12.1/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.c1776 u32 p_limit2 = rdev->pm.dpm.near_tdp_limit; in si_update_dte_from_pl2()
2062 u32 *near_tdp_limit) in si_calculate_adjusted_tdp_limits() argument
2073 *near_tdp_limit = rdev->pm.dpm.near_tdp_limit_adjusted + (*tdp_limit - rdev->pm.dpm.tdp_limit); in si_calculate_adjusted_tdp_limits()
2078 *near_tdp_limit = rdev->pm.dpm.near_tdp_limit_adjusted - adjustment_delta; in si_calculate_adjusted_tdp_limits()
2080 *near_tdp_limit = 0; in si_calculate_adjusted_tdp_limits()
2085 if ((*near_tdp_limit <= 0) || (*near_tdp_limit > *tdp_limit)) in si_calculate_adjusted_tdp_limits()
2103 u32 near_tdp_limit; in si_populate_smc_tdp_limits() local
2115 &near_tdp_limit); in si_populate_smc_tdp_limits()
2122 cpu_to_be32(si_scale_power_for_smc(near_tdp_limit, scaling_factor) * 1000); in si_populate_smc_tdp_limits()
2124 …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.c1019 rdev->pm.dpm.near_tdp_limit = le32_to_cpu(power_info->pplib5.ulNearTDPLimit); in r600_parse_extended_power_table()
1020 rdev->pm.dpm.near_tdp_limit_adjusted = rdev->pm.dpm.near_tdp_limit; in r600_parse_extended_power_table()
Dradeon.h1559 u32 near_tdp_limit; member
/linux-6.12.1/drivers/gpu/drm/amd/pm/inc/
Damdgpu_dpm.h273 u32 near_tdp_limit; member
/linux-6.12.1/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.c1928 u32 p_limit2 = adev->pm.dpm.near_tdp_limit; in si_update_dte_from_pl2()
2213 u32 *near_tdp_limit) in si_calculate_adjusted_tdp_limits() argument
2224 *near_tdp_limit = adev->pm.dpm.near_tdp_limit_adjusted + (*tdp_limit - adev->pm.dpm.tdp_limit); in si_calculate_adjusted_tdp_limits()
2229 *near_tdp_limit = adev->pm.dpm.near_tdp_limit_adjusted - adjustment_delta; in si_calculate_adjusted_tdp_limits()
2231 *near_tdp_limit = 0; in si_calculate_adjusted_tdp_limits()
2236 if ((*near_tdp_limit <= 0) || (*near_tdp_limit > *tdp_limit)) in si_calculate_adjusted_tdp_limits()
2254 u32 near_tdp_limit; in si_populate_smc_tdp_limits() local
2266 &near_tdp_limit); in si_populate_smc_tdp_limits()
2273 cpu_to_be32(si_scale_power_for_smc(near_tdp_limit, scaling_factor) * 1000); in si_populate_smc_tdp_limits()
2275 …cpu_to_be32(si_scale_power_for_smc((near_tdp_limit * SISLANDS_DPM2_TDP_SAFE_LIMIT_PERCENT) / 100, … in si_populate_smc_tdp_limits()
Dlegacy_dpm.c357 adev->pm.dpm.near_tdp_limit = le32_to_cpu(power_info->pplib5.ulNearTDPLimit); in amdgpu_parse_extended_power_table()
358 adev->pm.dpm.near_tdp_limit_adjusted = adev->pm.dpm.near_tdp_limit; in amdgpu_parse_extended_power_table()