iommu/qcom+msm: Use identity domain for display/GPU
Status from this message: Applied, thanks. Patch 1 needs to go through Will.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | iommu/qcom: Use identity domain for GPU and displaydrivers/ | +18 | 2 replies | |
| 2/2 | iommu/msm: Use identity domain for GPU and displaydrivers/ | +16 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Konrad Dybcio |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] iommu/qcom+msm: Use identity domain for display/GPU
Similar to what is already done in arm-smmu-qcom, match display and GPU compatible strings to pick identity domain type for them.
So far, we have an "evil twin" domain kicking around after drm/msm attaches it's own domain. Until now, that has been relatively harmless. But it becomes a problem with [1] when we start using sg_dma_len()/ sg_dma_address() for setting up mappings. Which is required to avoid problems with CONFIG_DMABUF_DEBUG (dma_buf_wrap_sg_table()).
The first patch is at least compile tested.. msm_iommu seems to be armv7-only.
If there are devices with bootloader splash, we may also need some work on qcom_iommu_identity_attach() and/or msm_iommu_identity_attach() to put the context bank into bypass instead of disabling it? Not sure, but that is probably going to require someone with such hardware at hand.
[1] https://patchwork.freedesktop.org/series/175619/
Rob Clark (2):
iommu/qcom: Use identity domain for GPU and display iommu/msm: Use identity domain for GPU and display
drivers/iommu/arm/arm-smmu/qcom_iommu.c | 18 ++++++++++++++++++ drivers/iommu/msm_iommu.c | 16 ++++++++++++++++ 2 files changed, 34 insertions(+)
Signature · 1 line
2.56.0