aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDanilo Krummrich <[email protected]>2023-11-25 00:36:36 +0100
committerMaxime Ripard <[email protected]>2023-11-28 13:57:29 +0100
commit4aa89e8644d3b8879191911edea0b6a63ea9d6e2 (patch)
treeb8fd4ed0e9086033b801ba0b626efaf67179257b /tools/perf/scripts/python/export-to-sqlite.py
parent3519d77293fb74786a45811fa6b600db26c1b0be (diff)
drm/imagination: vm: prevent duplicate drm_gpuvm_bo instances
Use drm_gpuvm_bo_obtain() instead of drm_gpuvm_bo_create(). The latter should only be used in conjunction with drm_gpuvm_bo_obtain_prealloc(). drm_gpuvm_bo_obtain() re-uses existing instances of a given VM and BO combination, whereas drm_gpuvm_bo_create() would always create a new instance of struct drm_gpuvm_bo and hence leave us with duplicates. 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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions