]> 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)
commit083db30fb0cdd6bada73f2e5d23d5ce69d1dcfe2
tree2bf9929e0b5a8200dbd836d25dc162dddfc768f2
parent2282787b23ae80194b9cf9e42734153a548af6ba
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