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

Reply via email to