Re: [PATCH] sh: migor: Reserve memory block for CEU

2017-11-14 Thread jacopo mondi
Hi Laurent, Geert, On Thu, Nov 09, 2017 at 03:39:42AM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. I'm sending a v2 of this, with an additional patch to postpone page to pfn mapping, as it hangs the CPU on SH4 with SPARSEMEM enabled. Laurent: as you have suggested tha

Re: [PATCH] sh: migor: Reserve memory block for CEU

2017-11-08 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Wednesday, 8 November 2017 20:05:46 EET Jacopo Mondi wrote: > A memory region for CEU video buffer has to be reserved during machine > initialization. > > Originally, it was allocated through DMA API helpers and stored in the > second IORESOURCE_MEM entry,

Re: [PATCH] sh: migor: Reserve memory block for CEU

2017-11-08 Thread Laurent Pinchart
Hi Geert, On Wednesday, 8 November 2017 20:31:22 EET Geert Uytterhoeven wrote: > On Wed, Nov 8, 2017 at 7:05 PM, Jacopo Mondi wrote: > > A memory region for CEU video buffer has to be reserved during machine > > initialization. > > > > Originally, it was allocated through DMA API helpers and stor

Re: [PATCH] sh: migor: Reserve memory block for CEU

2017-11-08 Thread Geert Uytterhoeven
Hi Jacopo, On Wed, Nov 8, 2017 at 7:05 PM, Jacopo Mondi wrote: > A memory region for CEU video buffer has to be reserved during machine > initialization. > > Originally, it was allocated through DMA API helpers and stored in the > second IORESOURCE_MEM entry, to be later remapped by the CEU drive