Re: [PATCH] drm/rockchip: avoid duplicate mappings for IOMMU devices

2023-02-05 Thread Heiko Stuebner
On Thu, 10 Nov 2022 17:24:14 +, John Keeping wrote: > If a buffer is allocated with alloc_kmap, then it is vmap'd on creation > and there is no reason to map it again in rockchip_gem_prime_vmap() when > the existing mapping can be used. > > Applied, thanks! [1/1] drm/rockchip: avoid duplica

[PATCH] drm/rockchip: avoid duplicate mappings for IOMMU devices

2022-11-10 Thread John Keeping
If a buffer is allocated with alloc_kmap, then it is vmap'd on creation and there is no reason to map it again in rockchip_gem_prime_vmap() when the existing mapping can be used. Signed-off-by: John Keeping --- drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 13 ++--- 1 file changed, 10 in