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>
このコミットが含まれているのは:
Samantha Tran
2021-08-12 15:26:14 -07:00
コミット 2c2224bdf3
3個のファイルの変更0行の追加14行の削除

ファイルの表示

@@ -172,8 +172,6 @@ struct drm_gem_object *msm_gem_prime_import(struct drm_device *dev,
return ERR_CAST(attach);
}
attach->dma_map_attrs |= DMA_ATTR_IOMMU_USE_LLC_NWA;
/*
* For cached buffers where CPU access is required, dma_map_attachment
* must be called now to allow user-space to perform cpu sync begin/end