Hi, Thanks for your reply. I had a look at the davincifb.c file and saw that there were already configurations for RGB in NTSC and PAL,. I'm not sure how to go about setting it up for SVGA but I'll deal with that later. I tried to change the bootargs but I get no change on the output DACs, still composite video... I added to my bootargs "video=davincifb:output=NTSC:format=RGB" is there anyway I can check if the bootargs have been accepted? I've not had any problems with this before (used the bootargs to setup NFS and disable DHCP etc.), can you confim these are the correct options. Is it possible to configure the output from my application? Thanks, Euan
-----Original Message----- From: Bernard Blackham [mailto:[EMAIL PROTECTED] Sent: 08 November 2007 14:06 To: Cochrane, Euan Cc: Davinci-Linux-Open-Source (E-mail) Subject: Re: DVEVM RGB SVGA output? Cochrane, Euan wrote: > I have been looking at the "Video Processing Back End User Guide" > (SPRUE37A) which describes registers needed to setup RGB output. How > do I actually set these registers? I had similar trouble when I had > problems with the resizer and never found out how to actually use the > registers. I have found some of the registers I think I need to modify > in order to setup RGB output defined in the davinci_vpbe.h file but > when I try and assign values to the registers I get an "invalid lvalue > in assignment" error. I'll admit I'm not much of a programmer so I'm > not really sure how to set these registers properly. Can anyone > explain it to me? You want to edit drivers/video/davincifb.c, and add your own setup around the line that says "Add support for other displays here", to cater for just the (dmparams.format == RGB) case. Copy one of the functions such as davincifb_pal_component_config, call it davincifb_rgb_config and set the registers you need to your hearts content. Finally, boot with video=davincifb:format=RGB to try it out (dmesg should contain something like: DaVinci: Output on NTSC in RGB format ... HTH, Bernard. _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
