disp: msm: sde: fix static cache programming

Add smmu cache hint at during the msm gem prime import
to ensure memory is cacheable. Ensure sys cache feature
is added to all sspp, not just vig.

Change-Id: Icc10468ad8d3e7c6aabd437776cde99eb627375a
Signed-off-by: Nilaan Gunabalachandran <ngunabal@codeaurora.org>
这个提交包含在:
Nilaan Gunabalachandran
2020-05-27 17:28:31 -04:00
父节点 707ce010fe
当前提交 1fedb0a712
修改 6 个文件,包含 8 行新增31 行删除

查看文件

@@ -170,6 +170,8 @@ 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