1. 04 1月, 2013 2 次提交
  2. 13 12月, 2012 1 次提交
    • I
      drm/exynos: add dmabuf attach/detach callbacks. · a7b362fb
      Inki Dae 提交于
      With this patch, When dma_buf_unmap_attachment is called,
      the pages of sgt aren't unmapped from iommu table.
      Instead, when dma_buf_detach is called, that would be done.
      
      And also removes exynos_get_sgt function used to get clone sgt
      and uses attachment's sgt instead. This patch would resolve
      performance deterioration issue when v4l2-based driver is using
      the buffer imported from gem.
      
      This change is derived from videobuf2-dma-contig.c
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      a7b362fb
  3. 05 12月, 2012 1 次提交
  4. 04 12月, 2012 1 次提交
  5. 29 11月, 2012 1 次提交
    • I
      drm/exynos: add iommu support for exynos drm framework · 0519f9a1
      Inki Dae 提交于
      Changelog v4:
      - fix condition to drm_iommu_detach_device funtion.
      
      Changelog v3:
      - add dma_parms->max_segment_size setting of drm_device->dev.
      - use devm_kzalloc instead of kzalloc.
      
      Changelog v2:
      - fix iommu attach condition.
        . check archdata.dma_ops of drm device instead of
          subdrv device's one.
      - code clean to exynos_drm_iommu.c file.
        . remove '#ifdef CONFIG_ARM_DMA_USE_IOMMU' from exynos_drm_iommu.c
          and add it to driver/gpu/drm/exynos/Kconfig.
      
      Changelog v1:
      This patch adds iommu support for exynos drm framework with dma mapping
      api. In this patch, we used dma mapping api to allocate physical memory
      and maps it with iommu table and removed some existing codes and added
      new some codes for iommu support.
      
      GEM allocation requires one device object to use dma mapping api so
      this patch uses one iommu mapping for all sub drivers. In other words,
      all sub drivers have same iommu mapping.
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      0519f9a1
  6. 03 10月, 2012 2 次提交
  7. 13 9月, 2012 1 次提交
  8. 27 7月, 2012 3 次提交
  9. 08 5月, 2012 1 次提交