diff options
| author | Rob Clark <[email protected]> | 2022-08-23 16:37:19 +0000 |
|---|---|---|
| committer | Rob Clark <[email protected]> | 2022-08-28 15:32:12 +0000 |
| commit | 70bccecfcaf6c506191aed487f3cf2695fc3008c (patch) | |
| tree | 03afe9b7d5ce083c90f8ac0fc3ec346b7c46f1a9 /drivers/gpu/drm/msm/msm_ringbuffer.c | |
| parent | drm/msm: Add fault-injection support (diff) | |
| download | kernel-70bccecfcaf6c506191aed487f3cf2695fc3008c.tar.gz kernel-70bccecfcaf6c506191aed487f3cf2695fc3008c.zip | |
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 'drivers/gpu/drm/msm/msm_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions
