Hi,Now I need to use a 3MP image sensor to do jpegenc process.But my program 
hang at the memory allocation in linux kernel:
1.I find the linux kernel will allocate and reserved VPFE_DEFNUM_FBUFS x 
PFE_MT9T001_MAX_FBUF_SIZE DMA memory in the VPFE
initialization code.In ther driver,VPFE_DEFNUM_FBUFS=3 and 
VPFE_MT9T001_MAX_FBUF_SIZE =1920x1080x2,I want to know How much DMA
memory in the dm355 system and is the allocated memory for ccdc?If I want to 
use the ipipe to process the 3MP resolution,do I need to change the 
VPFE_MT9T001_MAX_FBUF_SIZE to be 3Mx2?
2.In the ipipe initialization code, I need to allocate 2 buffers whose size 
will be 3Mx2,and my program hang at this point,the error message is "not enough 
memory",so I dive into the ipipe driver code,and I find that the ipipe buffers 
also need to be allocated with the flag GFP_DMA.My linux kernel has 80M 
memory,so I think the reason is the kernel DMA region doesn't have enough 
memory,is it right?How do I to solve this prolbem?
Thank you!Any help or tips will be appreciated!

2008-09-08 





Pavel Han
Oplinx Co.,Ltd
Address:Hanggang Fuchun Business Mansion 2116# Futian, Shenzhen 518041,PRC
Tel: (086)0755-88359865
Website:www.oplinx.com.cn
E-mail: [EMAIL PROTECTED] 
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to