disp: msm: remove use of DMA attributes LLC_NWA and Upstream Hint
Remove DMA_ATTR_IOMMU_USE_LLC_NWA and DMA_ATTR_IOMMU_USE_UPSTREAM_HINT attributes as they are no longer needed since io-coherency is enabled. Passing this attribute is a no op since buffer is io-coherent and will be mapped with a write allocate policy contradicting intention of that attribute. Change-Id: I882f148d770c795eb005c5391171a6280c083d37 Signed-off-by: Samantha Tran <samtran@codeaurora.org>
This commit is contained in:
@@ -242,9 +242,6 @@ static int msm_smmu_map_dma_buf(struct msm_mmu *mmu, struct sg_table *sgt,
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
if (flags & MSM_BO_KEEPATTRS)
|
||||
attrs |= DMA_ATTR_IOMMU_USE_LLC_NWA;
|
||||
|
||||
/*
|
||||
* For import buffer type, dma_map_sg_attrs is called during
|
||||
* dma_buf_map_attachment and is not required to call again
|
||||
|
Reference in New Issue
Block a user