From: Inki Dae Date: Wed, 28 Nov 2012 10:09:31 +0000 (+0900) Subject: drm/exynos: add dmabuf attach/detach callbacks. X-Git-Tag: v3.8-rc1~82^2~1^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7b362fb3bba310426b90e7bac83a2206808e425;p=pandora-kernel.git drm/exynos: add dmabuf attach/detach callbacks. 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: Inki Dae Signed-off-by: Kyungmin Park --- Reading git-diff-tree failed