]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: stop copying sg table
authorJoonyoung Shim <jy0922.shim@samsung.com>
Tue, 28 Jul 2015 08:53:20 +0000 (17:53 +0900)
committerInki Dae <inki.dae@samsung.com>
Sun, 16 Aug 2015 04:33:44 +0000 (13:33 +0900)
commit8a162bf4707d0c12f10bee96cbcf70a5da1fa95a
tree2bf9929e0b5a8200dbd836d25dc162dddfc768f2
parentd33b58a09915e42b3e48ac7d339103d6a032c01f
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>
drivers/gpu/drm/exynos/exynos_drm_dmabuf.c
drivers/gpu/drm/exynos/exynos_drm_gem.c
drivers/gpu/drm/exynos/exynos_drm_gem.h