]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: host1x: Set DMA mask
authorAlexandre Courbot <acourbot@nvidia.com>
Fri, 26 Feb 2016 09:06:52 +0000 (18:06 +0900)
committerThierry Reding <treding@nvidia.com>
Fri, 4 Mar 2016 15:24:56 +0000 (16:24 +0100)
commitf1514f8ba85977d0eb8517eaa58ac3c7dc0c6957
treeba2f85ae6a48c6930b51e8cef4c2a691bb4f788a
parentd7e15052ecc9ac4f938d1d7432c1d120a2711a7e
gpu: host1x: Set DMA mask

The default DMA mask covers a 32 bits address range, but host1x devices
can address a larger range on TK1 and TX1. Set the DMA mask to the range
addressable when we use the IOMMU to prevent the use of bounce buffers.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/dev.c
drivers/gpu/host1x/dev.h