aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJoshua Aberback <[email protected]>2024-10-28 17:12:22 -0400
committerAlex Deucher <[email protected]>2024-11-20 09:39:36 -0500
commit27227a234c1487cb7a684615f0749c455218833a (patch)
tree8feb233fa6e26b406a05f3aa47e7ac35eea5ea6b /tools/perf/scripts/python/stackcollapse.py
parentc33a93201ca07119de90e8c952fbdf65920ab55d (diff)
drm/amd/display: Fix handling of plane refcount
[Why] The mechanism to backup and restore plane states doesn't maintain refcount, which can cause issues if the refcount of the plane changes in between backup and restore operations, such as memory leaks if the refcount was supposed to go down, or double frees / invalid memory accesses if the refcount was supposed to go up. [How] Cache and re-apply current refcount when restoring plane states. Cc: [email protected] Reviewed-by: Josip Pavic <[email protected]> Signed-off-by: Joshua Aberback <[email protected]> Signed-off-by: Hamza Mahfooz <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions