tegra: DMA mask and IOMMU bit fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | platform: allow to specify the IOMMU bitdrm/ drm/ drm/ +1 more | +33 | 0 replies | |
| 2/4 | instmem/gk20a: make use of the IOMMU bitdrm/ | +6 | 0 replies | |
| 3/4 | ttm: convert to DMA APIdrm/ | +5 | 0 replies | |
| 4/4 | ttm: set the DMA mask for platform devicesdrm/ | +19 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] tegra: DMA mask and IOMMU bit fixes
These 4 patches fix two issues that existed on Tegra regarding DMA:
1) The bit indicating whether to use an IOMMU or not was hardcoded ; make this a platform property and use it in instmem
2) The DMA mask was not set for platform devices. Fix this by converting more pci_dma* to the DMA API, and use that more generic code to set the DMA mask properly for all platforms.
Tested on both x86 and Tegra and confirmed that the DMA mask was set properly in both cases. In case there is worry about the conversion to the DMA API, here is evidence that this change is a no-op for PCI as of 4.2:
http://lxr.free-electrons.com/ident?i=pci_set_dma_mask
Alexandre Courbot (4):
platform: allow to specify the IOMMU bit
instmem/gk20a: make use of the IOMMU bit
ttm: convert to DMA API
ttm: set the DMA mask for platform devices
drm/nouveau/include/nvkm/core/tegra.h | 3 +++ drm/nouveau/nouveau_platform.c | 14 ++++++++++++-- drm/nouveau/nouveau_platform.h | 10 ++++++++++ drm/nouveau/nouveau_ttm.c | 31 +++++++++++++++++++++---------- drm/nouveau/nvkm/engine/device/tegra.c | 9 ++++++++- drm/nouveau/nvkm/subdev/instmem/gk20a.c | 10 ++++++---- 6 files changed, 60 insertions(+), 17 deletions(-)
Signature · 6 lines
2.5.1 _______________________________________________ Nouveau mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/nouveau