diff options
| author | Rob Clark <robdclark@chromium.org> | 2022-08-23 09:37:19 -0700 |
|---|---|---|
| committer | Rob Clark <robdclark@chromium.org> | 2022-08-28 08:32:12 -0700 |
| commit | 70bccecfcaf6c506191aed487f3cf2695fc3008c (patch) | |
| tree | 03afe9b7d5ce083c90f8ac0fc3ec346b7c46f1a9 /scripts/gdb/linux/genpd.py | |
| 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 <robdclark@chromium.org>
Reviewed-by: Sai Prakash Ranjan <quic_saipraka@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/498892/
Link: https://lore.kernel.org/r/20220823163719.90399-1-robdclark@gmail.com
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions
