Re: [PATCH v2 5/8] fbdev: fb_defio: Export fb_deferred_io_mmap

2016-04-25 Thread Daniel Vetter
On Sun, Apr 24, 2016 at 10:48:59PM +0200, Noralf Trønnes wrote: > Export fb_deferred_io_mmap so drivers can change vma->vm_page_prot. > When the framebuffer memory is allocated using dma_alloc_writecombine() > instead of vmalloc(), I get cache syncing problems on ARM. > This solves it: > > static

[PATCH v2 5/8] fbdev: fb_defio: Export fb_deferred_io_mmap

2016-04-24 Thread Noralf Trønnes
Export fb_deferred_io_mmap so drivers can change vma->vm_page_prot. When the framebuffer memory is allocated using dma_alloc_writecombine() instead of vmalloc(), I get cache syncing problems on ARM. This solves it: static int drm_fbdev_cma_deferred_io_mmap(struct fb_info *info,