]> git.dujemihanovic.xyz Git - linux.git/commit
gpu: host1x: Do not setup DMA for virtual devices
authorThierry Reding <treding@nvidia.com>
Thu, 14 Mar 2024 15:49:43 +0000 (16:49 +0100)
committerThierry Reding <treding@nvidia.com>
Mon, 8 Apr 2024 14:52:58 +0000 (16:52 +0200)
commit8ab58f6841b19423231c5db3378691ec80c778f8
treeec10c9184eb4f1f408bcdfed88968888d430cecd
parentfd7726e75968b27fe98534ccbf47ccd6fef686f3
gpu: host1x: Do not setup DMA for virtual devices

The host1x devices are virtual compound devices and do not perform DMA
accesses themselves, so they do not need to be set up for DMA.

Ideally we would also not need to set up DMA masks for the virtual
devices, but we currently still need those for legacy support on old
hardware.

Tested-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240314154943.2487549-1-thierry.reding@gmail.com
drivers/gpu/host1x/bus.c