diff options
| author | Thierry Reding <[email protected]> | 2018-04-23 06:57:45 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2018-05-17 15:44:48 +0000 |
| commit | 24cfdc1ac7d4260aa8416505b9cb6316c9e89021 (patch) | |
| tree | 11304d100d8fa72b8bbf0d09e85450a0510bd520 /drivers/gpu/host1x/debug.c | |
| parent | drm/tegra: Fix order of teardown in IOMMU case (diff) | |
| download | kernel-24cfdc1ac7d4260aa8416505b9cb6316c9e89021.tar.gz kernel-24cfdc1ac7d4260aa8416505b9cb6316c9e89021.zip | |
drm/tegra: Acquire a reference to the IOVA cache
The IOVA API uses a memory cache to allocate IOVA nodes from. To make
sure that this cache is available, obtain a reference to it and release
the reference when the cache is no longer needed.
On 64-bit ARM this is hidden by the fact that the DMA mapping API gets
that reference and never releases it. On 32-bit ARM, however, the DMA
mapping API doesn't do that, so allocation of IOVA nodes fails.
Fixes: ad92601521ea ("drm/tegra: Add Tegra DRM allocation API")
Reviewed-by: Dmitry Osipenko <[email protected]>
Tested-by: Dmitry Osipenko <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/gpu/host1x/debug.c')
0 files changed, 0 insertions, 0 deletions
