]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/gpu/drm/tegra/gem.c
drm/tegra: gem: Always map SG tables for DMA-BUFs
authorThierry Reding <treding@nvidia.com>
Fri, 8 Jun 2018 12:59:13 +0000 (14:59 +0200)
committerThierry Reding <treding@nvidia.com>
Mon, 28 Oct 2019 10:18:40 +0000 (11:18 +0100)
commit8b5a3c17a2778fba817c38beb545bc48228b8da5
tree538698212bf337e97417f14876400ae4c100ce35
parentd81f3431e61771028acb69a23601ef5379e39f2a
drm/tegra: gem: Always map SG tables for DMA-BUFs

When an importer wants to map a DMA-BUF, make sure to always actually
map it, irrespective of whether the buffer is contiguous or not.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/gem.c