Re: Memory allocation in Video4Linux

2011-02-10 Thread KyongHo Cho
Hi Wen and Laurent, > >> Also regarding to the VCMM (Virtual Contiguous Memory Manager) or CMA, is >> it also an option? > > I'm not sure about VCMM, it seems to be an attempt to unify memory management > across IOMMUs and system MMU. I don't think you need to worry about it now, > IOMMU should be

Re: Memory allocation in Video4Linux

2011-02-10 Thread Sakari Ailus
Wang, Wen W wrote: > Hi Hans, > > Thanks for your point and videobuf2 is also what I want to use. > > But since our development kernel version right now is still 2.6.35, I > need to find way to work with current videobuf framework. Hi Wen, If you're bound to use that kernel version, then one op

Re: Memory allocation in Video4Linux

2011-02-10 Thread Jozef Kruger
er, Sundar; Yang, Jianwei; > linux-media@vger.kernel.org; umg-meego-handset-ker...@umglistsvr.jf.intel.com > Cc: Jozef Kruger > Subject: Re: [Umg-meego-handset-kernel] Memory allocation in Video4Linux > > Hi Hari, > > You are right. What we need is virtual address. > > Current

Re: Memory allocation in Video4Linux

2011-02-10 Thread Laurent Pinchart
Hi Wen, On Thursday 10 February 2011 10:44:58 Wang, Wen W wrote: > Hi Laurent, > > You make this very clear, thank you! > > The ISP on Medfield do have its own IOMMU. And I also think an IOMMU layer > for ISP is needed. > > I'm not quite understand "unless hardware design doesn't give you a cho

RE: Memory allocation in Video4Linux

2011-02-10 Thread Wang, Wen W
Sundar; Yang, Jianwei; >linux-media@vger.kernel.org; umg-meego-handset-ker...@umglistsvr.jf.intel.com; >Jozef Kruger >Subject: Re: Memory allocation in Video4Linux > >Hi Wen, > >On Thursday 10 February 2011 08:59:38 Gao, Bin wrote: >> Penwell has IOMMU feature? >> As far as I kno

Re: Memory allocation in Video4Linux

2011-02-10 Thread Laurent Pinchart
Hi Wen, On Thursday 10 February 2011 08:59:38 Gao, Bin wrote: > Penwell has IOMMU feature? > As far as I know only part of Intel server processors have this feature > which is designed originally for VT(virtualization technology). > > Wen, > Can you refer to other ISP Soc drivers and see how they

RE: Memory allocation in Video4Linux

2011-02-09 Thread Gao, Bin
zef Kruger Subject: Re: [Umg-meego-handset-kernel] Memory allocation in Video4Linux Hi Hari, You are right. What we need is virtual address. Currently we alloc pages (alloc_pages()) for any request. Store those pages for an image buffer into a list. We also manage the virtual address for ISP by ou

Re: Memory allocation in Video4Linux

2011-02-09 Thread Mauro Carvalho Chehab
Hi Wen, Em 09-02-2011 04:23, Wang, Wen W escreveu: > Hi, > > We are developing the image processor driver for Intel Medfield platform. > > We have received some comments on memory management that we should use > standard Linux kernel interfaces for this, since we are doing everything by > our

RE: Memory allocation in Video4Linux

2011-02-09 Thread Wang, Wen W
ianwei; linux-media@vger.kernel.org; >조경호/S/W Solution개발팀(S.LSI)/E4(선임)/삼성전자 >Subject: RE: Memory allocation in Video4Linux > > >Hi, > >Maybe VCM is helpful for you. Please refer to the following URL. >http://marc.info/?l=linux-mm&m=129255940319217&w=2 > >Best

RE: Memory allocation in Video4Linux

2011-02-08 Thread Jonghun Han
ger.kernel.org [mailto:linux-media- > ow...@vger.kernel.org] On Behalf Of Hans Verkuil > Sent: Wednesday, February 09, 2011 4:52 PM > To: Wang, Wen W; Jozef Kruger > Cc: Kanigeri, Hari K; Iyer, Sundar; Yang, Jianwei; linux-media@vger.kernel.org > Subject: Re: Memory allocation in Video4Linux &

RE: Memory allocation in Video4Linux

2011-02-08 Thread Wang, Wen W
>Sent: 2011年2月9日 15:52 >To: Wang, Wen W; Jozef Kruger >Cc: Kanigeri, Hari K; Iyer, Sundar; Yang, Jianwei; linux-media@vger.kernel.org >Subject: Re: Memory allocation in Video4Linux > >On Wednesday, February 09, 2011 08:27:27 Wang, Wen W wrote: >> Hi Hari, >> >&

Re: Memory allocation in Video4Linux

2011-02-08 Thread Hans Verkuil
nal Message- > >From: Kanigeri, Hari K > >Sent: 2011年2月9日 15:22 > >To: Iyer, Sundar; Wang, Wen W; Yang, Jianwei; linux-media@vger.kernel.org; > >umg-meego-handset-ker...@umglistsvr.jf.intel.com > >Cc: Jozef Kruger > >Subject: RE: Memory allocation in Video4

RE: Memory allocation in Video4Linux

2011-02-08 Thread Wang, Wen W
y 09, 2011 12:20 PM >> To: Wang, Wen W; Yang, Jianwei; linux-media@vger.kernel.org; umg-meego- >> handset-ker...@umglistsvr.jf.intel.com >> Cc: Jozef Kruger >> Subject: Re: [Umg-meego-handset-kernel] Memory allocation in >> Video4Linux >> >> I remember some Con

RE: Memory allocation in Video4Linux

2011-02-08 Thread Kanigeri, Hari K
anwei; linux-media@vger.kernel.org; umg-meego- > handset-ker...@umglistsvr.jf.intel.com > Cc: Jozef Kruger > Subject: Re: [Umg-meego-handset-kernel] Memory allocation in > Video4Linux > > I remember some Continous Memory Allocator (CMA) being iterated down a > few versions on > some

RE: Memory allocation in Video4Linux

2011-02-08 Thread Iyer, Sundar
r...@umglistsvr.jf.intel.com > >Cc: Jozef Kruger > >Subject: RE: Memory allocation in Video4Linux > > > >Curious for the below, why it is a sum? Will you use all of format at the > >same time? > > > >>1 RAW16: 2*14 = 28MB > >>1 qplane6: 6/4 *

RE: Memory allocation in Video4Linux

2011-02-08 Thread Wang, Wen W
Yes. Some are internal frame and yuv444 is the output. >-Original Message- >From: Yang, Jianwei >Sent: 2011年2月9日 14:31 >To: Wang, Wen W; linux-media@vger.kernel.org; >umg-meego-handset-ker...@umglistsvr.jf.intel.com >Cc: Jozef Kruger >Subject: RE: Memory allo

RE: Memory allocation in Video4Linux

2011-02-08 Thread Yang, Jianwei
kernel.org; umg-meego-handset- > ker...@umglistsvr.jf.intel.com > Cc: Jozef Kruger > Subject: [Umg-meego-handset-kernel] Memory allocation in Video4Linux > > Hi, > > We are developing the image processor driver for Intel Medfield platform. > > We have received some comments on memory manag

RE: Memory allocation in Video4Linux

2011-02-08 Thread Kanigeri, Hari K
ego-handset- > ker...@umglistsvr.jf.intel.com > Cc: Jozef Kruger > Subject: [Umg-meego-handset-kernel] Memory allocation in Video4Linux > > Hi, > > We are developing the image processor driver for Intel Medfield > platform. > > We have received some comments on memor

Memory allocation in Video4Linux

2011-02-08 Thread Wang, Wen W
Hi, We are developing the image processor driver for Intel Medfield platform. We have received some comments on memory management that we should use standard Linux kernel interfaces for this, since we are doing everything by ourselves including memory allocation (based on pages), page table ma