diff options
author | John Keeping <john@metanate.com> | 2022-11-10 17:24:14 +0000 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2023-02-05 15:27:54 +0100 |
commit | 0020d4cfa3eea0e5fad23af49411217da854fc83 (patch) | |
tree | 7fd0d0d5e97df628a625d088cd144d02606385da /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
parent | 582212ee1611f77e0360d249f11c0f703ed723dc (diff) |
drm/rockchip: avoid duplicate mappings for IOMMU devices
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 <john@metanate.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20221110172415.2853420-1-john@metanate.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions