Re: [PATCH] ARM: omapfb: Add early framebuffer memory allocator

2016-02-16 Thread Ivaylo Dimitrov
Hi, On 16.02.2016 15:51, Tomi Valkeinen wrote: Does it work for you? I haven't used DT reserved-memory, do you have an example .dts change? Yes, it does work, I tested it on n900: diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 1e94237..863d547 10064

Re: [PATCH] ARM: omapfb: Add early framebuffer memory allocator

2016-02-16 Thread Pali Rohár
On Tuesday 16 February 2016 15:51:34 Tomi Valkeinen wrote: > Another thing, with v4.5, omapfb has moved into maintenance mode. I > don't want to merge new features there. Are you planning to move to > omapdrm, and if not, why? I'd rather see all this done for omapdrm only. Hi! We are using (patche

Re: [PATCH] ARM: omapfb: Add early framebuffer memory allocator

2016-02-16 Thread Tomi Valkeinen
On 13/02/16 09:25, Ivaylo Dimitrov wrote: > Hi Tomi, > > On 11.01.2016 20:34, Tomi Valkeinen wrote: >> >> So, I'm not very enthusiastic about adding this feature as an omapfb >> specific boot parameter. >> > > What about something like (not properly formatted, just want your > opinion on the id

Re: [PATCH] ARM: omapfb: Add early framebuffer memory allocator

2016-02-12 Thread Ivaylo Dimitrov
Hi Tomi, On 11.01.2016 20:34, Tomi Valkeinen wrote: So, I'm not very enthusiastic about adding this feature as an omapfb specific boot parameter. What about something like (not properly formatted, just want your opinion on the idea): diff --git a/arch/arm/mach-omap2/fb.c b/arch/arm/mach-o

Re: [PATCH] ARM: omapfb: Add early framebuffer memory allocator

2016-01-04 Thread Ivaylo Dimitrov
Hi Tomi, On 4.01.2016 13:37, Tomi Valkeinen wrote: We probably need exactly the same for omapdrm, as omapfb is on the way to being deprecated. And sounds to me that we probably need similar for other devices which try to do large allocations (camera? video decoders?). Re omapdrm - I guess i

Re: [PATCH] ARM: omapfb: Add early framebuffer memory allocator

2016-01-04 Thread Tomi Valkeinen
Hi, On 01/01/16 14:01, Pali Rohár wrote: > Hi Tomi! Can you review this patch? It is waiting here for two years! > > On Thursday 26 December 2013 00:12:39 Ivaylo Dimitrov wrote: >> From: Ivaylo Dimitrov >> >> On memory limited devices, CMA fails easily when asked to allocate >> big chunks of mem

Re: [PATCH] ARM: omapfb: Add early framebuffer memory allocator

2016-01-01 Thread Pali Rohár
Hi Tomi! Can you review this patch? It is waiting here for two years! On Thursday 26 December 2013 00:12:39 Ivaylo Dimitrov wrote: > From: Ivaylo Dimitrov > > On memory limited devices, CMA fails easily when asked to allocate > big chunks of memory like framebuffer memory needed for video > play

Re: [PATCH] ARM: omapfb: Add early framebuffer memory allocator

2015-12-25 Thread Ivaylo Dimitrov
On 26.12.2013 01:12, Ivaylo Dimitrov wrote: From: Ivaylo Dimitrov On memory limited devices, CMA fails easily when asked to allocate big chunks of memory like framebuffer memory needed for video playback. Add boot parameter "omapfb_memsize" which allocates memory to be used as dma coherent mem

Re: [PATCH] ARM: omapfb: Add early framebuffer memory allocator

2013-12-27 Thread Ivaylo Dimitrov
On 27.12.2013 11:48, Pavel Machek wrote: On Thu 2013-12-26 01:12:39, Ivaylo Dimitrov wrote: From: Ivaylo Dimitrov On memory limited devices, CMA fails easily when asked to allocate big chunks of memory like framebuffer memory needed for video playback. Add boot parameter "omapfb_memsize" whi

Re: [PATCH] ARM: omapfb: Add early framebuffer memory allocator

2013-12-27 Thread Pavel Machek
On Thu 2013-12-26 01:12:39, Ivaylo Dimitrov wrote: > From: Ivaylo Dimitrov > > On memory limited devices, CMA fails easily when asked to allocate big > chunks of memory like framebuffer memory needed for video playback. > > Add boot parameter "omapfb_memsize" which allocates memory to be used >

[PATCH] ARM: omapfb: Add early framebuffer memory allocator

2013-12-25 Thread Ivaylo Dimitrov
From: Ivaylo Dimitrov On memory limited devices, CMA fails easily when asked to allocate big chunks of memory like framebuffer memory needed for video playback. Add boot parameter "omapfb_memsize" which allocates memory to be used as dma coherent memory, so dma_alloc_attrs won't hit CMA allocato