From: Hideki EIRAKU Date: Thu, 16 Aug 2012 10:13:20 +0000 (+0900) Subject: fbdev: sh_mobile_lcdc: use dma_mmap_coherent X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~2^2~10^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf10a53765b4435a5349a92a5a51753902ed86f1;p=pandora-kernel.git fbdev: sh_mobile_lcdc: use dma_mmap_coherent fb_mmap() implemented in fbmem.c uses smem_start as the physical address of the frame buffer. In the sh_mobile_lcdc driver, the smem_start is a dma_addr_t that is not a physical address when IOMMU is enabled. dma_mmap_coherent() maps the address correctly. Signed-off-by: Hideki EIRAKU Signed-off-by: Laurent Pinchart --- Reading git-diff-tree failed