]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/exynos: fix incorrect cpu address for dma_mmap_attrs()
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 11 Feb 2016 11:32:07 +0000 (12:32 +0100)
committerInki Dae <daeinki@gmail.com>
Mon, 15 Feb 2016 14:25:23 +0000 (23:25 +0900)
commitd380a1632c4e036d50c898e874a194fd4bf8bdee
tree8652b19ee47bc3707f3d268db245cba97dc304c4
parent74ebc70622c95b3e767f62b73a3ef624c913e5dd
drm/exynos: fix incorrect cpu address for dma_mmap_attrs()

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 <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fbdev.c
drivers/gpu/drm/exynos/exynos_drm_gem.c