]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: consider no iommu support to console framebuffer
authorInki Dae <inki.dae@samsung.com>
Fri, 21 Dec 2012 08:59:20 +0000 (17:59 +0900)
committerInki Dae <inki.dae@samsung.com>
Fri, 4 Jan 2013 06:54:32 +0000 (15:54 +0900)
commitcdbf395193b0dcf3246cf8c3a6d17b615905583c
tree9d0b313110b6dda6e7b622d50fc54b54dcca9fbe
parentd73febdd6233f5cb31f24146b55e3aeba04a4688
drm/exynos: consider no iommu support to console framebuffer

This patch considers no iommu support to kernel space mapping
of console framebuffer.

Without iommu, we get physical address instead of device address
after dma_alloc_attrs function is called. So we should consider
the case without iommu when it maps console framebuffer with
kernel space.

Changelog v2:
- calll vunmap function only with iommu support.

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