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>
这个提交包含在:
@@ -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
|
||||
|
在新工单中引用
屏蔽一个用户