Skip to content
Commit 38fabcc9 authored by Thierry Reding's avatar Thierry Reding
Browse files

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: default avatarThierry Reding <treding@nvidia.com>
parent 67a82dbc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment