[RFC PATCH] KMS support for i.MX51/53

2011-06-08 Thread Sascha Hauer
On Tue, Jun 07, 2011 at 08:59:28PM +0100, Alan Cox wrote: > > I'm not sure I understand you correctly. I have no address space on the > > card side since my 'card' just uses main memory. The memory I need must > > be a physically contiguous portion of sdram. I'm afraid shmem backing > > memory is

[RFC PATCH] KMS support for i.MX51/53

2011-06-07 Thread Sascha Hauer
On Tue, Jun 07, 2011 at 12:17:01PM +0100, Alan Cox wrote: > > Currently I don't use any sophisticated memory allocater like GEM > > or similar. I helped myself with simple dma_alloc where needed. At > > GEM is actually pretty sane when you get your head around it a spot. The > main thing it took

[RFC PATCH] KMS support for i.MX51/53

2011-06-07 Thread Alan Cox
> I'm not sure I understand you correctly. I have no address space on the > card side since my 'card' just uses main memory. The memory I need must > be a physically contiguous portion of sdram. I'm afraid shmem backing > memory is not of much use for me. I hadn't realised you had that underlying

[RFC PATCH] KMS support for i.MX51/53

2011-06-07 Thread Sascha Hauer
Hi All, The following adds a KMS driver for the Freescale i.MX51/53 SoCs. It is far from being ready but I think it is enough to send it out and get the first comments on it and to show that there's something going on. Currently I don't use any sophisticated memory allocater like GEM or

[RFC PATCH] KMS support for i.MX51/53

2011-06-07 Thread Alan Cox
> Currently I don't use any sophisticated memory allocater like GEM > or similar. I helped myself with simple dma_alloc where needed. At GEM is actually pretty sane when you get your head around it a spot. The main thing it took me a bit of time to get my head around is that it allocates backing

Re: [RFC PATCH] KMS support for i.MX51/53

2011-06-07 Thread Alan Cox
Currently I don't use any sophisticated memory allocater like GEM or similar. I helped myself with simple dma_alloc where needed. At GEM is actually pretty sane when you get your head around it a spot. The main thing it took me a bit of time to get my head around is that it allocates backing

Re: [RFC PATCH] KMS support for i.MX51/53

2011-06-07 Thread Sascha Hauer
On Tue, Jun 07, 2011 at 12:17:01PM +0100, Alan Cox wrote: Currently I don't use any sophisticated memory allocater like GEM or similar. I helped myself with simple dma_alloc where needed. At GEM is actually pretty sane when you get your head around it a spot. The main thing it took me a