drm/tegra: dc: Inherit DMA mask
authorThierry Reding <treding@nvidia.com>
Fri, 26 Mar 2021 14:51:32 +0000 (15:51 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 31 Mar 2021 15:42:14 +0000 (17:42 +0200)
commit86044e749be77a3544990027244abb20ddb3caf0
treeaf4f698643e7da641bb55b0d577d87bf663bf92a
parent933deb8c7b8e3f83e3dbd0b08e3cad51350d44c4
drm/tegra: dc: Inherit DMA mask

Inherit the DMA mask from host1x (on Tegra210 and earlier) or the
display hub (on Tegra186 and later). This is necessary in order to
properly map buffers without SMMU support and use the maximum IOVA
space available with SMMU support.

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