/dports/multimedia/libv4l/linux-5.13-rc2/drivers/gpu/drm/radeon/ |
H A D | ni_dpm.c | 1382 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() 2463 u32 near_tdp_limit; in ni_populate_power_containment_values() local [all …]
|
H A D | si_dpm.c | 1820 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()
|
H A D | r600_dpm.c | 1021 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()
|
H A D | radeon.h | 1559 u32 near_tdp_limit; member
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/external/bsd/drm2/dist/drm/radeon/ |
H A D | ni_dpm.c | 1405 u32 near_tdp_limit) in ni_calculate_power_boost_limit() argument 1443 n = ((u64)near_tdp_limit * ((u64)std_vddc_med * (u64)std_vddc_med) * 90); in ni_calculate_power_boost_limit() 1459 u32 *near_tdp_limit) in ni_calculate_adjusted_tdp_limits() argument 1466 *near_tdp_limit = rdev->pm.dpm.near_tdp_limit + (*tdp_limit - rdev->pm.dpm.tdp_limit); in ni_calculate_adjusted_tdp_limits() 1469 *near_tdp_limit = rdev->pm.dpm.near_tdp_limit - (rdev->pm.dpm.tdp_limit - *tdp_limit); in ni_calculate_adjusted_tdp_limits() 1485 u32 near_tdp_limit; in ni_populate_smc_tdp_limits() local 1498 &near_tdp_limit); in ni_populate_smc_tdp_limits() 1503 near_tdp_limit); in ni_populate_smc_tdp_limits() 1508 cpu_to_be32(ni_scale_power_for_smc(near_tdp_limit, scaling_factor)); in ni_populate_smc_tdp_limits() 2486 u32 near_tdp_limit; in ni_populate_power_containment_values() local [all …]
|
H A D | si_dpm.c | 1836 u32 p_limit2 = rdev->pm.dpm.near_tdp_limit; in si_update_dte_from_pl2() 2114 u32 *near_tdp_limit) in si_calculate_adjusted_tdp_limits() argument 2125 *near_tdp_limit = rdev->pm.dpm.near_tdp_limit_adjusted + (*tdp_limit - rdev->pm.dpm.tdp_limit); in si_calculate_adjusted_tdp_limits() 2130 *near_tdp_limit = rdev->pm.dpm.near_tdp_limit_adjusted - adjustment_delta; in si_calculate_adjusted_tdp_limits() 2132 *near_tdp_limit = 0; in si_calculate_adjusted_tdp_limits() 2137 if ((*near_tdp_limit <= 0) || (*near_tdp_limit > *tdp_limit)) in si_calculate_adjusted_tdp_limits() 2155 u32 near_tdp_limit; in si_populate_smc_tdp_limits() local 2167 &near_tdp_limit); in si_populate_smc_tdp_limits() 2174 cpu_to_be32(si_scale_power_for_smc(near_tdp_limit, scaling_factor) * 1000); in si_populate_smc_tdp_limits() 2176 …cpu_to_be32(si_scale_power_for_smc((near_tdp_limit * SISLANDS_DPM2_TDP_SAFE_LIMIT_PERCENT) / 100, … in si_populate_smc_tdp_limits()
|
H A D | r600_dpm.c | 1008 rdev->pm.dpm.near_tdp_limit = le32_to_cpu(power_info->pplib5.ulNearTDPLimit); in r600_parse_extended_power_table() 1009 rdev->pm.dpm.near_tdp_limit_adjusted = rdev->pm.dpm.near_tdp_limit; in r600_parse_extended_power_table()
|
H A D | radeon.h | 1549 u32 near_tdp_limit; member
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/gpu/drm/radeon/ |
H A D | ni_dpm.c | 1382 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() 2463 u32 near_tdp_limit; in ni_populate_power_containment_values() local [all …]
|
H A D | si_dpm.c | 1820 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()
|
H A D | r600_dpm.c | 1021 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()
|
H A D | radeon.h | 1559 u32 near_tdp_limit; member
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/gpu/drm/radeon/ |
H A D | ni_dpm.c | 1382 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() 2463 u32 near_tdp_limit; in ni_populate_power_containment_values() local [all …]
|
H A D | si_dpm.c | 1820 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()
|
H A D | r600_dpm.c | 1021 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()
|
H A D | radeon.h | 1559 u32 near_tdp_limit; member
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/gpu/drm/amd/pm/inc/ |
H A D | amdgpu_dpm.h | 402 u32 near_tdp_limit; member
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/gpu/drm/amd/pm/inc/ |
H A D | amdgpu_dpm.h | 402 u32 near_tdp_limit; member
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/gpu/drm/amd/pm/inc/ |
H A D | amdgpu_dpm.h | 402 u32 near_tdp_limit; member
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/gpu/drm/amd/pm/powerplay/ |
H A D | si_dpm.c | 1913 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()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/gpu/drm/amd/pm/powerplay/ |
H A D | si_dpm.c | 1913 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()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/gpu/drm/amd/pm/powerplay/ |
H A D | si_dpm.c | 1913 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()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/gpu/drm/amd/pm/ |
H A D | amdgpu_dpm.c | 433 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()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/gpu/drm/amd/pm/ |
H A D | amdgpu_dpm.c | 433 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()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/gpu/drm/amd/pm/ |
H A D | amdgpu_dpm.c | 433 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()
|