aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPhilip Yang <[email protected]>2023-09-11 14:44:22 -0400
committerAlex Deucher <[email protected]>2023-09-26 16:55:10 -0400
commit101b8104307eac734f2dfa4d3511430b0b631c73 (patch)
treefecf30c97b52f2fcd0f9b7cc18fa18f158688ee5 /tools/perf/scripts/python/export-to-sqlite.py
parent08abccc9a7a7ff51cb10948042360448ea30d413 (diff)
drm/amdkfd: Move dma unmapping after TLB flush
Otherwise GPU may access the stale mapping and generate IOMMU IO_PAGE_FAULT. Move this to inside p->mutex to prevent multiple threads mapping and unmapping concurrently race condition. After kfd_mem_dmaunmap_attachment is removed from unmap_bo_from_gpuvm, kfd_mem_dmaunmap_attachment is called if failed to map to GPUs, and before free the mem attachment in case failed to unmap from GPUs. Signed-off-by: Philip Yang <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions