diff options
author | Rob Clark <[email protected]> | 2022-08-23 09:37:19 -0700 |
---|---|---|
committer | Rob Clark <[email protected]> | 2022-08-28 08:32:12 -0700 |
commit | 70bccecfcaf6c506191aed487f3cf2695fc3008c (patch) | |
tree | 03afe9b7d5ce083c90f8ac0fc3ec346b7c46f1a9 /tools/perf/scripts/python | |
parent | 6d29709de8028cfd5a827d02f93a5076ba632563 (diff) |
drm/msm/iommu: optimize map/unmap
Using map_pages/unmap_pages cuts down on the # of pgtable walks needed
in the process of finding where to insert/remove an entry. The end
result is ~5-10x faster than mapping a single page at a time.
v2: Rename iommu_pgsize(), drop obsolete comments, fix error handling
in msm_iommu_pagetable_map()
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Sai Prakash Ranjan <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/498892/
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions