]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitc704f1b47d6cb4b61b2e120030088c2a7cefcc13
tree9d0b313110b6dda6e7b622d50fc54b54dcca9fbe
parentf4fd9bd4863ebbccbcef113c03b9b628a8242a64
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