summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorLijo Lazar <lijo.lazar@amd.com>2024-10-17 12:02:12 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-10-25 01:04:59 +0300
commitd37bc6a4ed252083c8f883597389e7f33ad8b670 (patch)
tree14289773d95810c2f32dea8b090a4059e0c7c7f4 /tools/perf/scripts/python/gecko.py
parentb6890efb597a19cc8bb45e0c2375292fd1f338de (diff)
downloadlinux-d37bc6a4ed252083c8f883597389e7f33ad8b670.tar.xz
drm/amdgpu: Fix the logic for NPS request failure
On a hive, NPS request is placed by the first one for all devices in the hive. If the request fails, mark the mode as UNKNOWN so that subsequent devices on unload don't request it. Also, fix the mutex double lock issue in error condition, should have been mutex_unlock. Fixes: ee52489d1210 ("drm/amdgpu: Place NPS mode request on unload") Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions