summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorYang Wang <kevinyang.wang@amd.com>2026-07-01 09:11:15 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-07-01 11:55:01 -0400
commitf45bbf0f62f266ed8422d84f347d75d5fca846a7 (patch)
treed043c61121f3692c59084b684a3a8893d8ffdbcf /tools/perf/scripts/python/bin/stackcollapse-record
parentfeaa5039f6c12acc9aa934c2d45dcd251a12c69f (diff)
drm/amd/pm: fix smu13 power limit range calculation
SMU13 reports SocketPowerLimitAc/Dc as the default power limit, but MsgLimits.Power may carry a different firmware bound for the same PPT throttler. Using only the socket limit for both min and max can therefore expose an incorrect power range. Keep the socket limit as the default, but derive the range from both values: use the lower value for the min base and the higher value for the max base before applying OD percentages. Keep the current limit query independent from the cap calculation. Fixes: 1eaf26db9590 ("drm/amd/pm: fix smu13 power limit default/cap calculation") Closes: https://gitlab.freedesktop.org/drm/amd/-/work_items/5419 Signed-off-by: Yang Wang <kevinyang.wang@amd.com> Reviewed-by: Kenneth Feng <kenneth.feng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions