aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorDanilo Krummrich <[email protected]>2023-11-25 00:36:38 +0100
committerMaxime Ripard <[email protected]>2023-11-28 13:57:46 +0100
commit0d3abd456be45369235dd75793ce26f07900044c (patch)
tree49baf411450557a160b2cb6beee5d1d2750b03e6 /tools/perf/scripts/python/bin/stackcollapse-report
parent4550d66d08b2257a1b2d3ce339d68ca33177f4b9 (diff)
drm/imagination: vm: fix drm_gpuvm reference count
The driver specific reference count indicates whether the VM should be teared down, whereas GPUVM's reference count indicates whether the VM structure can finally be freed. Hence, free the VM structure in pvr_gpuvm_free() and drop the last GPUVM reference after tearing down the VM. Generally, this prevents lifetime issues such as the VM being freed as long as drm_gpuvm_bo structures still hold references to the VM. Fixes: ff5f643de0bf ("drm/imagination: Add GEM and VM related code") Signed-off-by: Danilo Krummrich <[email protected]> Reviewed-by: Donald Robson <[email protected]> Tested-by: Frank Binns <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions