aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra/gem.c
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2019-11-18 10:35:22 +0000
committerDaniel Vetter <[email protected]>2019-11-25 21:36:01 +0000
commit7a8139c54e75a67b85692eb5f238710d59a1dfc3 (patch)
treeed1a83dd179e313f385fddf6de648861381c93ce /drivers/gpu/drm/tegra/gem.c
parentRevert "drm/fbdev: Fallback to non tiled mode if all tiles not present" (diff)
downloadkernel-7a8139c54e75a67b85692eb5f238710d59a1dfc3.tar.gz
kernel-7a8139c54e75a67b85692eb5f238710d59a1dfc3.zip
drm/tegra: Map cmdbuf once for reloc processing
A few reasons to drop kmap: - For native objects all we do is look at obj->vaddr anyway, so might as well not call functions for every page. - Reloc-processing on dma-buf is ... questionable. - Plus most dma-buf that bother kernel cpu mmaps give you at least vmap, much less kmaps. And all the ones relevant for arm-soc are again doing a obj->vaddr game anyway, there's no real kmap going on on arm it seems. Plus this seems to be the only real in-tree user of dma_buf_kmap, and I'd like to get rid of that. Reviewed-by: Thierry Reding <[email protected]> Tested-by: Thierry Reding <[email protected]> Acked-by: Sumit Semwal <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Cc: Thierry Reding <[email protected]> Cc: [email protected] Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/tegra/gem.c')
0 files changed, 0 insertions, 0 deletions