diff options
| author | Timur Kristóf <timur.kristof@gmail.com> | 2026-07-12 19:39:28 +0200 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-07-15 09:15:42 -0400 |
| commit | 516f8fc30a1b56af03f39e93c18707d13419fb1f (patch) | |
| tree | a15061ebf0892c32ff9e0284c6d590cc1fd6eb6a /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 6a3664b0b49bd61c3d4d29ea071f34cfe819aa51 (diff) | |
drm/amd/pm/smu7: Fix AC/DC switch notification
There were two mistakes in the previous implementation:
The check for AutomaticDCTransition should be inverted.
We recently learned that the kernel should send
PPSMC_MSG_RunningOnAC when the flag is set, and not the
other way around.
The clocks also need to be recomputed, because the code in
the smu7_apply_state_adjust_rules() function selects
different limits on AC and DC.
Fixes: 96da0d86614e ("drm/amd/pm/smu7: Notify SMU7 of DC->AC switch")
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
