summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2022-05-10 10:32:26 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-05-11 11:50:43 -0400
commitc65b364c52ba352177dde6944f5efaa29bd40b52 (patch)
tree3f0ec564702113f2a49d9ecc298861de453d69be /tools/perf/scripts/python/compaction-times.py
parenta56f445f807b0276fc0660c330bf93a9ea78e8ea (diff)
drm/amdgpu/ctx: only reset stable pstate if the user changed it (v2)
Check if the requested stable pstate matches the current one before changing it. This avoids changing the stable pstate on context destroy if the user never changed it in the first place via the IOCTL. v2: compare the current and requested rather than setting a flag (Lijo) Fixes: 8cda7a4f96e435 ("drm/amdgpu/UAPI: add new CTX OP to get/set stable pstates") Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions