disp: msm: sde: add sys cache usage for static image
Store full or partial static image in system cache (L3 cache) for video mode primary display. Added additional commit to crtc commit thread to transition to read cache state. The change also updates llcc APIs to support generic functionality. Change-Id: I6b2a45da946d7e0e0b326da9d214be3f01a9420e Signed-off-by: Nilaan Gunabalachandran <ngunabal@codeaurora.org>
此提交包含在:
@@ -1213,9 +1213,14 @@ int msm_gem_delayed_import(struct drm_gem_object *obj)
|
||||
if (msm_obj->flags & MSM_BO_SKIPSYNC)
|
||||
attach->dma_map_attrs |= DMA_ATTR_SKIP_CPU_SYNC;
|
||||
|
||||
/*
|
||||
* All SMMU mapping are generated with cache hint.
|
||||
* SSPP cache hint will control the LLCC access.
|
||||
*/
|
||||
if (msm_obj->flags & MSM_BO_KEEPATTRS)
|
||||
attach->dma_map_attrs |=
|
||||
DMA_ATTR_IOMMU_USE_UPSTREAM_HINT;
|
||||
(DMA_ATTR_IOMMU_USE_UPSTREAM_HINT |
|
||||
DMA_ATTR_IOMMU_USE_LLC_NWA);
|
||||
|
||||
/*
|
||||
* dma_buf_map_attachment will call dma_map_sg for ion buffer
|
||||
|
新增問題並參考
封鎖使用者