[PATCH] drm/exynos: fix incorrect cpu address for dma_mmap_attrs()

2016-02-12 Thread Inki Dae
Picked it up. Thanks, Inki Dae 2016년 02월 11일 20:32에 Marek Szyprowski 이(가) 쓴 글: > dma_mmap_attrs() should be called with cpu address returned by > dma_alloc_attrs(). Existing code however passed pages array base as cpu > address. This worked only by a pure luck on ARM architecture.

[PATCH] drm/exynos: fix incorrect cpu address for dma_mmap_attrs()

2016-02-11 Thread Marek Szyprowski
dma_mmap_attrs() should be called with cpu address returned by dma_alloc_attrs(). Existing code however passed pages array base as cpu address. This worked only by a pure luck on ARM architecture. This patch fixes this issue. Signed-off-by: Marek Szyprowski --- drivers/gpu/drm/exynos/exynos_drm_