diff options
author | Thierry Reding <treding@nvidia.com> | 2019-02-01 16:28:27 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2019-02-07 20:28:57 +0300 |
commit | 38fabcc953883741313d707a919326f77c2d7214 (patch) | |
tree | c05dab3f17eb6ab2a05cdb3645ed6d99ff9703f4 /drivers/gpu/host1x/syncpt.c | |
parent | 67a82dbc0a374df7a348cc8fb28982945035bd25 (diff) | |
download | linux-38fabcc953883741313d707a919326f77c2d7214.tar.xz |
gpu: host1x: Restrict IOVA space to DMA mask
On Tegra186 and later, the ARM SMMU provides an input address space that
is 48 bits wide. However, memory clients can only address up to 40 bits.
If the geometry is used as-is, allocations of IOVA space can end up in a
region that is not addressable by the memory clients.
To fix this, restrict the IOVA space to the DMA mask of the host1x
device.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x/syncpt.c')
0 files changed, 0 insertions, 0 deletions