Ver código fonte

video: driver: removed delayed unmap attribute

removed delayed unmap attribute from driver so
that buffers are immediately unmapped when unmap
request is sent.

Change-Id: I452199ba6e7f670ff2bdc3300df21d6e47011f90
Signed-off-by: Darshana Patil <[email protected]>
Darshana Patil 2 anos atrás
pai
commit
ed9f77c640
1 arquivos alterados com 0 adições e 5 exclusões
  1. 0 5
      driver/vidc/src/msm_vidc_memory_ext.c

+ 0 - 5
driver/vidc/src/msm_vidc_memory_ext.c

@@ -68,11 +68,6 @@ static struct dma_buf_attachment *msm_vidc_dma_buf_attach_ext(struct msm_vidc_co
 	 * on the whole buffer size and hence pass skip sync flag.
 	 */
 	attach->dma_map_attrs |= DMA_ATTR_SKIP_CPU_SYNC;
-	/*
-	 * Get the scatterlist for the given attachment
-	 * Mapping of sg is taken care by map attachment
-	 */
-	attach->dma_map_attrs |= DMA_ATTR_DELAYED_UNMAP;
 	if (is_sys_cache_present(core))
 		attach->dma_map_attrs |= DMA_ATTR_IOMMU_USE_UPSTREAM_HINT;