summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLijo Lazar <lijo.lazar@amd.com>2026-10-07 17:26:35 +0530
committerAlex Deucher <alexander.deucher@amd.com>2026-11-11 15:56:58 -0500
commit9284db9e6ebf300b754b406525576d4848ea96f5 (patch)
treef62bf17e96d1a685544aa04f55e8c366c68a4602 /tools/perf/scripts/python
parentde0f2a6eabd019a3129025862bffca934a5d7180 (diff)
drm/amdgpu: Allow cancelling a requested NPS mode
NPS mode change request doesn't allow to request the current mode. This causes an issue where a user stores a request and later wants to cancel the request by writing the current mode back. The pending request stays the same as before. Allow user to change the mode by comparing against the cached request. Writing the current mode back clears the pending request without asking for a reload. Fixes: 012be6f22c01 ("drm/amdgpu: Add sysfs interfaces for NPS mode") Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Asad Kamal <asad.kamal@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 595b5879f1bf776a8c2d085253d3bff2d19dfb57) Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions