linux_dsm_epyc7002/drivers/memory/tegra
Thierry Reding ea90f66f2a memory: tegra: Remove GPU from DRM IOMMU group
Commit 63a613fdb1 ("memory: tegra: Add gr2d and gr3d to DRM IOMMU
group") added the GPU to the DRM IOMMU group, which doesn't make any
sense. This causes problems when Nouveau tries to attach to the SMMU
and causes it to fall back to using the DMA API.

Remove the GPU from the DRM groups to restore the old behaviour. The
GPU should always have its own IOMMU domain to make sure it can map
buffers into contiguous chunks (for big page support) without getting
in the way of mappings from the DRM group.

Cc: <stable@vger.kernel.org>
Fixes: 63a613fdb1 ("memory: tegra: Add gr2d and gr3d to DRM IOMMU group")
Reported-by: Matias Zuniga <matias.nicolas.zc@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20200901153248.1831263-1-thierry.reding@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2020-09-02 17:23:59 +02:00
..
Kconfig memory: tegra: Add EMC scaling support code for Tegra210 2020-06-22 13:54:57 +02:00
Makefile memory: tegra: Add EMC scaling sequence code for Tegra210 2020-06-22 13:54:57 +02:00
mc.c memory: tegra: Consolidate registers definition into common header 2019-11-11 14:55:27 +01:00
mc.h memory: tegra: Add EMC scaling support code for Tegra210 2020-06-22 13:54:57 +02:00
tegra20-emc.c memory: tegra20-emc: Poll EMC-CaR handshake instead of waiting for interrupt 2020-06-22 13:54:57 +02:00
tegra20.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
tegra30-emc.c memory: tegra30-emc: Poll EMC-CaR handshake instead of waiting for interrupt 2020-06-22 13:54:57 +02:00
tegra30.c memory: tegra: Consolidate registers definition into common header 2019-11-11 14:55:27 +01:00
tegra114.c memory: tegra: Add gr2d and gr3d to DRM IOMMU group 2019-11-11 14:55:25 +01:00
tegra124-emc.c memory: tegra: Add Tegra132 compatible string match 2020-07-15 11:55:21 +02:00
tegra124.c memory: tegra: Remove GPU from DRM IOMMU group 2020-09-02 17:23:59 +02:00
tegra186-emc.c memory: tegra186-emc: Simplify with dev_err_probe() 2020-09-02 17:22:56 +02:00
tegra186.c memory: tegra: Avoid unused function warnings 2020-06-22 13:54:58 +02:00
tegra210-emc-cc-r21021.c memory: tegra: tegra210-emc: fix indentation 2020-08-17 20:43:54 +02:00
tegra210-emc-core.c memory: tegra: Drop <linux/clk-provider.h> 2020-06-22 13:54:58 +02:00
tegra210-emc-table.c memory: tegra: Support derated timings on Tegra210 2020-06-22 13:54:57 +02:00
tegra210-emc.h memory: tegra: Drop <linux/clk-provider.h> 2020-06-22 13:54:58 +02:00
tegra210-mc.h memory: tegra: Add EMC scaling support code for Tegra210 2020-06-22 13:54:57 +02:00
tegra210.c memory: tegra: Correct shift value of apew 2020-08-20 17:24:20 +02:00