aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x/job.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2019-10-28 13:37:12 +0100
committerThierry Reding <treding@nvidia.com>2019-10-29 15:04:35 +0100
commitb78e70c04c149299bd210759d7c7af7c86b89ca8 (patch)
tree0c87c0e36a31d9735cc6e79874c1d778e58705e6 /drivers/gpu/host1x/job.h
parentgpu: host1x: Add direction flags to relocations (diff)
downloadlinux-dev-b78e70c04c149299bd210759d7c7af7c86b89ca8.tar.xz
linux-dev-b78e70c04c149299bd210759d7c7af7c86b89ca8.zip
gpu: host1x: Allocate gather copy for host1x
Currently when the gather buffers are copied, they are copied to a buffer that is allocated for the host1x client that wants to execute the command streams in the buffers. However, the gather buffers will be read by the host1x device, which causes SMMU faults if the DMA API is backed by an IOMMU. Fix this by allocating the gather buffer copy for the host1x device, which makes sure that it will be mapped into the host1x's IOVA space if the DMA API is backed by an IOMMU. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x/job.h')
0 files changed, 0 insertions, 0 deletions