diff options
author | Joonyoung Shim <jy0922.shim@samsung.com> | 2015-07-28 11:53:20 +0300 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2015-08-16 07:33:44 +0300 |
commit | 67e93c808b486817193dbd1ff93ee03adb9eef28 (patch) | |
tree | 2bf9929e0b5a8200dbd836d25dc162dddfc768f2 /drivers/gpu/drm/exynos/exynos_drm_gem.c | |
parent | 0e9a2ee3bc1ee24be519312453ef93288b545ad3 (diff) | |
download | linux-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.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_gem.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.c b/drivers/gpu/drm/exynos/exynos_drm_gem.c index 4d9a09907607..fa04b9add09a 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_gem.c +++ b/drivers/gpu/drm/exynos/exynos_drm_gem.c @@ -455,9 +455,6 @@ void exynos_drm_gem_free_object(struct drm_gem_object *obj) exynos_gem_obj = to_exynos_gem_obj(obj); buf = exynos_gem_obj->buffer; - if (obj->import_attach) - drm_prime_gem_destroy(obj, buf->sgt); - exynos_drm_gem_destroy(to_exynos_gem_obj(obj)); } |