Hi Euan,
Cochrane, Euan wrote:
> 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.
Oh? What version of the kernel are you using? I was looking at both
mvista 2.6.10 and git and saw these:
if ((dmparams.output == NTSC) && (dmparams.format == COMPOSITE))
dm->output_device_config = davincifb_ntsc_composite_config;
else if ((dmparams.output == NTSC) && (dmparams.format == SVIDEO))
dm->output_device_config = davincifb_ntsc_svideo_config;
else if ((dmparams.output == NTSC) && (dmparams.format == COMPONENT))
dm->output_device_config = davincifb_ntsc_component_config;
else if ((dmparams.output == PAL) && (dmparams.format == COMPOSITE))
dm->output_device_config = davincifb_pal_composite_config;
else if ((dmparams.output == PAL) && (dmparams.format == SVIDEO))
dm->output_device_config = davincifb_pal_svideo_config;
else if ((dmparams.output == PAL) && (dmparams.format == COMPONENT))
dm->output_device_config = davincifb_pal_component_config;
FWIW, technically, NTSC and PAL RGB modes just don't make sense - at
least not to me, as NTSC/PAL are Y/C-based. However in this case they're
just used as names to identify the config, so use whatever you want :)
> 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?
At least two places visible when the kernel boots up, and also in the
output of dmesg. One looks like:
Kernel command line: mem=120M console=ttyS0,115200n8 root=/dev/hda1
rw noinitrd ip=dhcp video=dm64xxfb:output=pal
and the other I described earlier:
DaVinci: Output on NTSC in RGB format ...
> Is it possible to
> configure the output from my application?
SPRAAN0 that I posted earlier describes some patches for run-time
switching of the display parameters.
Cheers,
Bernard.
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source