drm/exynos: added new funtion to get/put dma address.
authorInki Dae <inki.dae@samsung.com>
Fri, 16 Mar 2012 09:47:06 +0000 (18:47 +0900)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Mar 2012 09:40:22 +0000 (09:40 +0000)
commitf0b1bda725c1c49620d2e7ae7405a247098cdb8e
treec9ac3da863eb33b87cce83572a78103e98191cff
parent2b35892e9da672df40ce890bffc4f9f6119c57e0
drm/exynos: added new funtion to get/put dma address.

this function would be used for drm based 2d acceleration driver
to get/put dma address through gem handle.
when exynos_drm_get_dma_address is called reference count of
gem object would be increased not to be released by gem close and
when exynos_drm_put_dma_address is called the reference count of
this gem object would be decreased to be released.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/exynos/exynos_drm_gem.c
drivers/gpu/drm/exynos/exynos_drm_gem.h