gpu: host1x: Support 40-bit addressing on Tegra186
authorThierry Reding <treding@nvidia.com>
Fri, 1 Feb 2019 13:28:28 +0000 (14:28 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 7 Feb 2019 17:28:58 +0000 (18:28 +0100)
The host1x and clients instantiated on Tegra186 support addressing 40
bits of memory.

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

index 544b67f..ee3c7b8 100644 (file)
@@ -136,7 +136,7 @@ static const struct host1x_info host1x06_info = {
        .nb_bases = 16,
        .init = host1x06_init,
        .sync_offset = 0x0,
-       .dma_mask = DMA_BIT_MASK(34),
+       .dma_mask = DMA_BIT_MASK(40),
        .has_hypervisor = true,
        .num_sid_entries = ARRAY_SIZE(tegra186_sid_table),
        .sid_table = tegra186_sid_table,