[PATCH v2] drm/exynos: use DMA_ATTR_NO_KERNEL_MAPPING attribute

2012-12-10 Thread Inki Dae
Changelog v2: fix argument to dma_mmap_attr function. - use pages instead of kvaddr because kvaddr is 0 with DMA_ATTR_NO_KERNEL_MAPPING. Changelog v1: When gem allocation is requested, kernel space mapping isn't needed. But if need, such as console framebuffer, the physical pages would be mapped

[PATCH v2] drm/exynos: use DMA_ATTR_NO_KERNEL_MAPPING attribute

2012-12-09 Thread Inki Dae
Changelog v2: fix argument to dma_mmap_attr function. - use pages instead of kvaddr because kvaddr is 0 with DMA_ATTR_NO_KERNEL_MAPPING. Changelog v1: When gem allocation is requested, kernel space mapping isn't needed. But if need, such as console framebuffer, the physical pages would be mapped