I have reslove the problem,in the kernel2.6.10,the ths8200 driver started 
before davincifb driver,so the davincifb get the right mod_info ( xres(800) 
,yres(600)),but in the kernel2.6.18,ths8200 driver boot after the davincifb , 
so the  davincifb get the default mod_info and set its values.change the  
davincifb_probe() can resolve it!


2009-08-03 



zuowenping 



发件人: zuowenping 
发送时间: 2009-07-31  15:31:04 
收件人: davinci-linux-open-source 
抄送: 
主题: why is my bootargs about davincifb noneffective when use kernel2.6.18? 
 
Just shows by boot info,I have set my bootaregs as:

Built 1 zonelists.  Total pages: 29696
Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs 
nfsroot=10.0.0.89:/mnt/rootfs,nolock 
mem=116M video=davincifb:vid0=0,2500K:vid1=0, 2500K:osd0=800x600x16,2025K 
:osd1=720x576x16,
1650K davinci_enc_mngr.ch0_output=COMPONENT1 davinci_enc_mngr.ch0_mode=640x480


but the kernel davincifb_probe()  get the osd0 size is not right!

davincifb davincifb.0: dm_osd0_fb: 640x480...@0,0 with framebuffer size 1200KB
davincifb davincifb.0: dm_vid0_fb: 0x0...@0,0 with framebuffer size 2500KB
davincifb davincifb.0: dm_osd1_fb: 640x48...@0,0 with framebuffer size 1200KB
davincifb davincifb.0: dm_vid1_fb: 0x0...@0,0 with framebuffer size 600KB

So i cann't set the osd0 to 800x600 by fbdev command FBIOPUT_VSCREENINFO! but 
it work well in linux2.6.10, It get the right osd size!I have check the source 
davincifb.c  between the two kernel version , but i cann't find the reason 
yet!Any one can help me?thanks a lot!
2009-07-31 



zuowenping 
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to