aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDanilo Krummrich <[email protected]>2023-08-09 22:50:14 +0000
committerChristian König <[email protected]>2023-08-10 07:01:00 +0000
commit806fd6d005ad7aa9e217d47063e5b12b25143402 (patch)
tree3d3f3fa7573e079c5d19cc4487f6659dd750622b /tools/perf/scripts/python
parentdrm: atmel-hlcdc: Support inverting the pixel clock polarity (diff)
downloadkernel-806fd6d005ad7aa9e217d47063e5b12b25143402.tar.gz
kernel-806fd6d005ad7aa9e217d47063e5b12b25143402.zip
drm/test: drm_exec: fix memory leak on object prepare
drm_exec_prepare_obj() and drm_exec_prepare_array() both reserve dma-fence slots and hence a dma_resv_list without ever freeing it. Make sure to call drm_gem_private_object_fini() for each GEM object passed to drm_exec_prepare_obj()/drm_exec_prepare_array() throughout the test to fix this up. While at it, remove some trailing empty lines. Fixes: 9710631cc8f3 ("drm: add drm_exec selftests v4") Signed-off-by: Danilo Krummrich <[email protected]> Reviewed-by: Christian König <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions