drm/exynos: fix allocation and cache mapping type
authorInki Dae <inki.dae@samsung.com>
Fri, 14 Dec 2012 05:34:31 +0000 (14:34 +0900)
committerInki Dae <inki.dae@samsung.com>
Fri, 14 Dec 2012 06:40:26 +0000 (15:40 +0900)
commit1169af218010ec7420c2f66c10284047774ba96c
tree1d1f7d9ce5ebab94ab49ec43540c149fb12eb1d8
parentf2c0095acbf250b0e7a714bc42f7f32ddb34cfdf
drm/exynos: fix allocation and cache mapping type

This patch fixes memory alloction(contiguous or not) and
cache mapping types(cachable or not).
For this, it converts each type from user request into dma
attribute properly.

Changelog v2:
- just code cleanup.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_buf.c