RE: DSS2: How to test TV and LCD output simulatenously

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Newbie question, could someone tell me why am I suppose to enable overlay0, when I am using only GFX. I guess overlay managers of LCD and TV should take care of displaying it from any pipelines...

Regards,
Subbu
________________________________________
From: Tomi Valkeinen [tomi.valkeinen@xxxxxxxxx]
Sent: Tuesday, June 02, 2009 3:21 AM
To: ext halli manjunatha
Cc: Venkatesh, Subbu; linux-omap@xxxxxxxxxxxxxxx; Shah, Hardik
Subject: Re: DSS2: How to test TV and LCD output simulatenously

Hi,

On Tue, 2009-06-02 at 06:22 +0200, ext halli manjunatha wrote:
> Hi subbu,
> first boot the board including      omapfb.vram="1:2M"    in boootargs
> and follow the below steps it will enable both just try it it should work

You don't need to use the module parameters for that. You can allocate
memory for the framebuffer by echoing

echo mem-amount > /sys/class/graphics/fb?/size

Note that the overlays connected to that framebuffer need to be
disabled.

Also, in your example below, you don't even use fb1, so I don't see much
point in allocating 2M for it.

 Tomi

>
>
> ***********************************************************************************
> echo "0" > /sys/devices/platform/omapdss/overlay0/enabled
> echo "0" > /sys/devices/platform/omapdss/overlay1/enabled
>
> echo "" > /sys/class/graphics/fb1/overlays
> echo "0,1" > /sys/class/graphics/fb0/overlays
>
> echo "720,564" > /sys/devices/platform/omapdss/overlay1/output_size
> echo "tv" > /sys/devices/platform/omapdss/overlay1/manager
>
> echo "1" > /sys/devices/platform/omapdss/overlay0/enabled
> echo "1" > /sys/devices/platform/omapdss/overlay1/enabled
>
>
> echo "1" > /sys/devices/platform/omapdss/display2/enabled
>
>
>
> **********************************************************************************
>
>
> On Tue, Jun 2, 2009 at 7:54 AM, Venkatesh, Subbu <subbu.wrs@xxxxxx> wrote:
> > Hi,
> > I have DSS2 ported on LDP board, I could manage to get output display on TV and LCD interface individually, also tested some of the features like Rotation and Mirroring, they worked with out any problem.
> > Now I am trying to get output both on TV and LCD simultaneously,
> >
> > I was not successful with my approach that I tried, like
> >
> > 1. Boot the kernel with the default LCD display
> > 2. Then I enabled ntsc timings for TV, as PAL do not work on it.
> >    #echo ntsc > /sys/devices/platform/omapdss/display1/timings
> > 3. Enabled TV
> >  # echo 1 > /sys/devices/platform/omapdss/display1/enable
> > and did the common fb test....
> > But it did not seem to work.
> > Its nice if someone has different working approach or can suggest me where I am going wrong in the above steps.
> >
> > Regards,
> > Subbu
> >
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> > the body of a message to majordomo@xxxxxxxxxxxxxxx
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >
>
>
>


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux