diff options
| author | Yang Wang <kevinyang.wang@amd.com> | 2026-07-29 15:56:46 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-07-29 17:51:33 -0400 |
| commit | 74f28db2db69777cd2f059d50fe34e365ddd5add (patch) | |
| tree | f18e7e307a1cc815cb9d220fe23fd897a40e45cd /tools/perf/scripts | |
| parent | 6f16fcbb0c46a87e3d9685407e906573d60104b0 (diff) | |
drm/amd/pm: hide pp_table sysfs on APUs
APUs use firmware-owned DPM tables and do not support replacement through
pp_table. Generic callbacks can nevertheless expose the sysfs file and
accept an upload before resetting the power management stack.
Treat pp_table as unsupported on APUs. Use the same platform check in the
get and set paths to hide the file and reject uploads.
Fixes: 289921b03fe5 ("drm/amd/powerplay: implement sysfs of pp_table for smu11 (v2)")
Signed-off-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
