This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

why is my bootargs about davincifb noneffective when usekernel2.6.18?

Other Parts Discussed in Thread: THS8200

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: 640x480x16@0,0 with framebuffer size 1200KB
davincifb davincifb.0: dm_vid0_fb: 0x0x16@0,0 with framebuffer size 2500KB
davincifb davincifb.0: dm_osd1_fb: 640x480x4@0,0 with framebuffer size 1200KB
davincifb davincifb.0: dm_vid1_fb: 0x0x16@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!

  • 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!