summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/exynos/exynos_drm_gem.h
diff options
context:
space:
mode:
authorJoonyoung Shim <jy0922.shim@samsung.com>2015-07-28 11:53:20 +0300
committerInki Dae <inki.dae@samsung.com>2015-08-16 07:33:44 +0300
commit67e93c808b486817193dbd1ff93ee03adb9eef28 (patch)
tree2bf9929e0b5a8200dbd836d25dc162dddfc768f2 /drivers/gpu/drm/exynos/exynos_drm_gem.h
parent0e9a2ee3bc1ee24be519312453ef93288b545ad3 (diff)
downloadlinux-67e93c808b486817193dbd1ff93ee03adb9eef28.tar.xz
drm/exynos: stop copying sg table
Already struct exynos_drm_gem_buf has pages of the buffer, so we don't need to copy from sg table of the buffer to sg table of dma-buf attachment, just can make sg table from pages of the buffer. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_gem.h')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_gem.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.h b/drivers/gpu/drm/exynos/exynos_drm_gem.h
index 6f42e2248288..5979f22828d4 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_gem.h
+++ b/drivers/gpu/drm/exynos/exynos_drm_gem.h
@@ -30,7 +30,6 @@
* device address with IOMMU.
* @write: whether pages will be written to by the caller.
* @pages: Array of backing pages.
- * @sgt: sg table to transfer page data.
* @size: size of allocated memory region.
* @pfnmap: indicate whether memory region from userptr is mmaped with
* VM_PFNMAP or not.
@@ -43,7 +42,6 @@ struct exynos_drm_gem_buf {
struct dma_attrs dma_attrs;
unsigned int write;
struct page **pages;
- struct sg_table *sgt;
unsigned long size;
bool pfnmap;
};