[PATCH v4 2/4] fbmem: add a default get_fb_unmapped_area function

2016-12-07 Thread Laurent Pinchart
Hi Benjamin, On Wednesday 07 Dec 2016 15:57:49 Benjamin Gaignard wrote: > 2016-12-07 15:35 GMT+01:00 Laurent Pinchart: > > On Wednesday 07 Dec 2016 11:06:49 Benjamin Gaignard wrote: > >> Allow generic frame-buffer to provide a default > >> get_fb_unmapped_area function if specific devices need it.

[PATCH v4 2/4] fbmem: add a default get_fb_unmapped_area function

2016-12-07 Thread Laurent Pinchart
Hi Benjamin, Thank you for the patch. On Wednesday 07 Dec 2016 11:06:49 Benjamin Gaignard wrote: > Allow generic frame-buffer to provide a default > get_fb_unmapped_area function if specific devices need it. > > Usually this function is defined in architecture directories but > define it here ma

[PATCH v4 2/4] fbmem: add a default get_fb_unmapped_area function

2016-12-07 Thread Benjamin Gaignard
Hi Thomas, in commit 59bd00c8 (Blackfin: fix framebuffer mmap bug for nommu) you have introduce get_fb_unmapped_area() for blackfin architecture. I'm proposing a patch to have a default function in fbmem which slightly does the same. Do you think is new function could also fit with blackfin arch

[PATCH v4 2/4] fbmem: add a default get_fb_unmapped_area function

2016-12-07 Thread Benjamin Gaignard
2016-12-07 15:35 GMT+01:00 Laurent Pinchart : > Hi Benjamin, > > Thank you for the patch. > > On Wednesday 07 Dec 2016 11:06:49 Benjamin Gaignard wrote: >> Allow generic frame-buffer to provide a default >> get_fb_unmapped_area function if specific devices need it. >> >> Usually this function is de

[PATCH v4 2/4] fbmem: add a default get_fb_unmapped_area function

2016-12-07 Thread Benjamin Gaignard
Allow generic frame-buffer to provide a default get_fb_unmapped_area function if specific devices need it. Usually this function is defined in architecture directories but define it here may limit code duplication especially for all ARM platforms without MMU. version 4: - introdude a configuratio