All of lore.kernel.org
 help / color / mirror / Atom feed
* DSS2: How to test TV and LCD output simulatenously
@ 2009-06-02  2:24 Venkatesh, Subbu
  2009-06-02  4:22 ` halli manjunatha
  2009-06-02 11:52 ` Gary Thomas
  0 siblings, 2 replies; 13+ messages in thread
From: Venkatesh, Subbu @ 2009-06-02  2:24 UTC (permalink / raw)
  To: linux-omap; +Cc: Shah, Hardik, tomi.valkeinen

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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DSS2: How to test TV and LCD output simulatenously
  2009-06-02  2:24 DSS2: How to test TV and LCD output simulatenously Venkatesh, Subbu
@ 2009-06-02  4:22 ` halli manjunatha
  2009-06-02  8:21   ` Tomi Valkeinen
  2009-06-02 11:52 ` Gary Thomas
  1 sibling, 1 reply; 13+ messages in thread
From: halli manjunatha @ 2009-06-02  4:22 UTC (permalink / raw)
  To: Venkatesh, Subbu; +Cc: linux-omap, Shah, Hardik, tomi.valkeinen

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


***********************************************************************************
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@ti.com> 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@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



-- 
Regards
Manjunatha H

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DSS2: How to test TV and LCD output simulatenously
  2009-06-02  4:22 ` halli manjunatha
@ 2009-06-02  8:21   ` Tomi Valkeinen
  2009-06-02 12:46     ` Venkatesh, Subbu
  0 siblings, 1 reply; 13+ messages in thread
From: Tomi Valkeinen @ 2009-06-02  8:21 UTC (permalink / raw)
  To: ext halli manjunatha; +Cc: Venkatesh, Subbu, linux-omap, Shah, Hardik

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@ti.com> 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@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >
> 
> 
> 


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DSS2: How to test TV and LCD output simulatenously
  2009-06-02  2:24 DSS2: How to test TV and LCD output simulatenously Venkatesh, Subbu
  2009-06-02  4:22 ` halli manjunatha
@ 2009-06-02 11:52 ` Gary Thomas
  2009-06-02 11:57   ` Tomi Valkeinen
  2009-06-02 12:49   ` Venkatesh, Subbu
  1 sibling, 2 replies; 13+ messages in thread
From: Gary Thomas @ 2009-06-02 11:52 UTC (permalink / raw)
  To: Venkatesh, Subbu; +Cc: linux-omap, Shah, Hardik, tomi.valkeinen

Venkatesh, Subbu 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.

What does "DSS2 ported on LDP board" mean?  What source tree/branch did you use?

> 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.

Is this stuff documented somewhere?  Like the difference
between DSS1 and DSS2?  How the various layers and overlays
are supposed to work?  What about the camera interface?

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DSS2: How to test TV and LCD output simulatenously
  2009-06-02 11:52 ` Gary Thomas
@ 2009-06-02 11:57   ` Tomi Valkeinen
  2009-06-02 12:49   ` Venkatesh, Subbu
  1 sibling, 0 replies; 13+ messages in thread
From: Tomi Valkeinen @ 2009-06-02 11:57 UTC (permalink / raw)
  To: ext Gary Thomas; +Cc: Venkatesh, Subbu, linux-omap, Shah, Hardik

Hi,

On Tue, 2009-06-02 at 13:52 +0200, ext Gary Thomas wrote:
> Venkatesh, Subbu 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.
> 
> What does "DSS2 ported on LDP board" mean?  What source tree/branch did you use?

He was using my DSS2 tree from
http://www.bat.org/~tomba/git/linux-omap-dss.git (or some older version
of it).

> 
> > 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.
> 
> Is this stuff documented somewhere?  Like the difference
> between DSS1 and DSS2?  How the various layers and overlays
> are supposed to work?  What about the camera interface?

It's documented in DSS2 documentation, Documentation/arm/OMAP/DSS. Of
course knowledge of OMAP's display subsystem is required, and that
information can be found from the OMAP TRM.

I have no idea about the camera, it has nothing to do with DSS.

 Tomi



^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: DSS2: How to test TV and LCD output simulatenously
  2009-06-02  8:21   ` Tomi Valkeinen
@ 2009-06-02 12:46     ` Venkatesh, Subbu
  0 siblings, 0 replies; 13+ messages in thread
From: Venkatesh, Subbu @ 2009-06-02 12:46 UTC (permalink / raw)
  To: tomi.valkeinen, ext halli manjunatha; +Cc: linux-omap, Shah, Hardik

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@nokia.com]
Sent: Tuesday, June 02, 2009 3:21 AM
To: ext halli manjunatha
Cc: Venkatesh, Subbu; linux-omap@vger.kernel.org; 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@ti.com> 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@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >
>
>
>



^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: DSS2: How to test TV and LCD output simulatenously
  2009-06-02 11:52 ` Gary Thomas
  2009-06-02 11:57   ` Tomi Valkeinen
@ 2009-06-02 12:49   ` Venkatesh, Subbu
  2009-06-02 15:38     ` Gary Thomas
  1 sibling, 1 reply; 13+ messages in thread
From: Venkatesh, Subbu @ 2009-06-02 12:49 UTC (permalink / raw)
  To: Gary Thomas; +Cc: linux-omap, Shah, Hardik, tomi.valkeinen

Hi Gary,
LDP is a development board, I have to work on LDP panel driver  and BSP code to support new DSS2, It is ported on linux-omap tree.
I am still working on testing the features. For camera I might move into V4l2, but I cannot confirm this, I am still working on testing the Framebuffer features.

Regards,
Subbu
________________________________________
From: Gary Thomas [gary@mlbassoc.com]
Sent: Tuesday, June 02, 2009 6:52 AM
To: Venkatesh, Subbu
Cc: linux-omap@vger.kernel.org; Shah, Hardik; tomi.valkeinen@nokia.com
Subject: Re: DSS2: How to test TV and LCD output simulatenously

Venkatesh, Subbu 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.

What does "DSS2 ported on LDP board" mean?  What source tree/branch did you use?

> 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.

Is this stuff documented somewhere?  Like the difference
between DSS1 and DSS2?  How the various layers and overlays
are supposed to work?  What about the camera interface?

Thanks

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DSS2: How to test TV and LCD output simulatenously
  2009-06-02 12:49   ` Venkatesh, Subbu
@ 2009-06-02 15:38     ` Gary Thomas
  2009-06-02 15:51       ` Venkatesh, Subbu
  0 siblings, 1 reply; 13+ messages in thread
From: Gary Thomas @ 2009-06-02 15:38 UTC (permalink / raw)
  To: Venkatesh, Subbu; +Cc: linux-omap, Shah, Hardik, tomi.valkeinen

Venkatesh, Subbu wrote:
> Hi Gary,
> LDP is a development board, I have to work on LDP panel driver  and BSP code to support new DSS2, It is ported on linux-omap tree.
> I am still working on testing the features. For camera I might move into V4l2, but I cannot confirm this, I am still working on testing the Framebuffer features.

How much of this can you share?  I'd like to try this on my LDP (Zoom1)
and then get it ported to my own hardware (very similar to Zoom1)

Thanks

> ________________________________________
> From: Gary Thomas [gary@mlbassoc.com]
> Sent: Tuesday, June 02, 2009 6:52 AM
> To: Venkatesh, Subbu
> Cc: linux-omap@vger.kernel.org; Shah, Hardik; tomi.valkeinen@nokia.com
> Subject: Re: DSS2: How to test TV and LCD output simulatenously
> 
> Venkatesh, Subbu 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.
> 
> What does "DSS2 ported on LDP board" mean?  What source tree/branch did you use?
> 
>> 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.
> 
> Is this stuff documented somewhere?  Like the difference
> between DSS1 and DSS2?  How the various layers and overlays
> are supposed to work?  What about the camera interface?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: DSS2: How to test TV and LCD output simulatenously
  2009-06-02 15:38     ` Gary Thomas
@ 2009-06-02 15:51       ` Venkatesh, Subbu
  2009-06-02 16:01         ` Gary Thomas
  0 siblings, 1 reply; 13+ messages in thread
From: Venkatesh, Subbu @ 2009-06-02 15:51 UTC (permalink / raw)
  To: Gary Thomas; +Cc: linux-omap, Shah, Hardik, tomi.valkeinen

Hello Gary,
I have already emailed the patch, here is the link..
 http://patchwork.kernel.org/patch/24196/

Regards,
Subbu
________________________________________
From: Gary Thomas [gary@mlbassoc.com]
Sent: Tuesday, June 02, 2009 10:38 AM
To: Venkatesh, Subbu
Cc: linux-omap@vger.kernel.org; Shah, Hardik; tomi.valkeinen@nokia.com
Subject: Re: DSS2: How to test TV and LCD output simulatenously

Venkatesh, Subbu wrote:
> Hi Gary,
> LDP is a development board, I have to work on LDP panel driver  and BSP code to support new DSS2, It is ported on linux-omap tree.
> I am still working on testing the features. For camera I might move into V4l2, but I cannot confirm this, I am still working on testing the Framebuffer features.

How much of this can you share?  I'd like to try this on my LDP (Zoom1)
and then get it ported to my own hardware (very similar to Zoom1)

Thanks

> ________________________________________
> From: Gary Thomas [gary@mlbassoc.com]
> Sent: Tuesday, June 02, 2009 6:52 AM
> To: Venkatesh, Subbu
> Cc: linux-omap@vger.kernel.org; Shah, Hardik; tomi.valkeinen@nokia.com
> Subject: Re: DSS2: How to test TV and LCD output simulatenously
>
> Venkatesh, Subbu 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.
>
> What does "DSS2 ported on LDP board" mean?  What source tree/branch did you use?
>
>> 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.
>
> Is this stuff documented somewhere?  Like the difference
> between DSS1 and DSS2?  How the various layers and overlays
> are supposed to work?  What about the camera interface?

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DSS2: How to test TV and LCD output simulatenously
  2009-06-02 15:51       ` Venkatesh, Subbu
@ 2009-06-02 16:01         ` Gary Thomas
  2009-06-02 19:02           ` Gary Thomas
  0 siblings, 1 reply; 13+ messages in thread
From: Gary Thomas @ 2009-06-02 16:01 UTC (permalink / raw)
  To: Venkatesh, Subbu; +Cc: linux-omap, Shah, Hardik, tomi.valkeinen

Venkatesh, Subbu wrote:
> Hello Gary,
> I have already emailed the patch, here is the link..
>  http://patchwork.kernel.org/patch/24196/

Thanks, I'll give it a try.

> ________________________________________
> From: Gary Thomas [gary@mlbassoc.com]
> Sent: Tuesday, June 02, 2009 10:38 AM
> To: Venkatesh, Subbu
> Cc: linux-omap@vger.kernel.org; Shah, Hardik; tomi.valkeinen@nokia.com
> Subject: Re: DSS2: How to test TV and LCD output simulatenously
> 
> Venkatesh, Subbu wrote:
>> Hi Gary,
>> LDP is a development board, I have to work on LDP panel driver  and BSP code to support new DSS2, It is ported on linux-omap tree.
>> I am still working on testing the features. For camera I might move into V4l2, but I cannot confirm this, I am still working on testing the Framebuffer features.
> 
> How much of this can you share?  I'd like to try this on my LDP (Zoom1)
> and then get it ported to my own hardware (very similar to Zoom1)
> 
> Thanks
> 
>> ________________________________________
>> From: Gary Thomas [gary@mlbassoc.com]
>> Sent: Tuesday, June 02, 2009 6:52 AM
>> To: Venkatesh, Subbu
>> Cc: linux-omap@vger.kernel.org; Shah, Hardik; tomi.valkeinen@nokia.com
>> Subject: Re: DSS2: How to test TV and LCD output simulatenously
>>
>> Venkatesh, Subbu 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.
>> What does "DSS2 ported on LDP board" mean?  What source tree/branch did you use?
>>
>>> 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.
>> Is this stuff documented somewhere?  Like the difference
>> between DSS1 and DSS2?  How the various layers and overlays
>> are supposed to work?  What about the camera interface?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DSS2: How to test TV and LCD output simulatenously
  2009-06-02 16:01         ` Gary Thomas
@ 2009-06-02 19:02           ` Gary Thomas
  2009-06-02 19:27             ` Venkatesh, Subbu
  0 siblings, 1 reply; 13+ messages in thread
From: Gary Thomas @ 2009-06-02 19:02 UTC (permalink / raw)
  To: Venkatesh, Subbu; +Cc: linux-omap, Shah, Hardik, tomi.valkeinen

Gary Thomas wrote:
> Venkatesh, Subbu wrote:
>> Hello Gary,
>> I have already emailed the patch, here is the link..
>>  http://patchwork.kernel.org/patch/24196/
> 
> Thanks, I'll give it a try.

I applied this patch to Tomi's tree (cloned today), but no joy:
  http://www.bat.org/~tomba/git/linux-omap-dss.git commit 72f7d3309a25dd9f39c292aa15e41a719a734867

  CC      arch/arm/mach-omap2/board-ldp.o
/local/linux-omap-dss/arch/arm/mach-omap2/board-ldp.c:317: warning: 'struct omap_display' declared inside parameter list
/local/linux-omap-dss/arch/arm/mach-omap2/board-ldp.c:317: warning: its scope is only this definition or declaration, which is probably not what you want
/local/linux-omap-dss/arch/arm/mach-omap2/board-ldp.c:332: warning: 'struct omap_display' declared inside parameter list
/local/linux-omap-dss/arch/arm/mach-omap2/board-ldp.c:342: error: variable 'omap_ldp_display_data_tv' has initializer but incomplete type

How do I get a working tree with this patch applied?

> 
>> ________________________________________
>> From: Gary Thomas [gary@mlbassoc.com]
>> Sent: Tuesday, June 02, 2009 10:38 AM
>> To: Venkatesh, Subbu
>> Cc: linux-omap@vger.kernel.org; Shah, Hardik; tomi.valkeinen@nokia.com
>> Subject: Re: DSS2: How to test TV and LCD output simulatenously
>>
>> Venkatesh, Subbu wrote:
>>> Hi Gary,
>>> LDP is a development board, I have to work on LDP panel driver  and BSP code to support new DSS2, It is ported on linux-omap tree.
>>> I am still working on testing the features. For camera I might move into V4l2, but I cannot confirm this, I am still working on testing the Framebuffer features.
>> How much of this can you share?  I'd like to try this on my LDP (Zoom1)
>> and then get it ported to my own hardware (very similar to Zoom1)
>>
>> Thanks
>>
>>> ________________________________________
>>> From: Gary Thomas [gary@mlbassoc.com]
>>> Sent: Tuesday, June 02, 2009 6:52 AM
>>> To: Venkatesh, Subbu
>>> Cc: linux-omap@vger.kernel.org; Shah, Hardik; tomi.valkeinen@nokia.com
>>> Subject: Re: DSS2: How to test TV and LCD output simulatenously
>>>
>>> Venkatesh, Subbu 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.
>>> What does "DSS2 ported on LDP board" mean?  What source tree/branch did you use?
>>>
>>>> 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.
>>> Is this stuff documented somewhere?  Like the difference
>>> between DSS1 and DSS2?  How the various layers and overlays
>>> are supposed to work?  What about the camera interface?
> 


-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: DSS2: How to test TV and LCD output simulatenously
  2009-06-02 19:02           ` Gary Thomas
@ 2009-06-02 19:27             ` Venkatesh, Subbu
  2009-06-02 21:04               ` Gary Thomas
  0 siblings, 1 reply; 13+ messages in thread
From: Venkatesh, Subbu @ 2009-06-02 19:27 UTC (permalink / raw)
  To: Gary Thomas; +Cc: linux-omap, Shah, Hardik, tomi.valkeinen

Hi Gary,
I just got to know Tomi's tree underwent lots of changes after mailing this patch, since Tomi has no target to commit, so I will update my tree and resend the patch, let me know.

Regards,
Subbu
________________________________________
From: Gary Thomas [gary@mlbassoc.com]
Sent: Tuesday, June 02, 2009 2:02 PM
To: Venkatesh, Subbu
Cc: linux-omap@vger.kernel.org; Shah, Hardik; tomi.valkeinen@nokia.com
Subject: Re: DSS2: How to test TV and LCD output simulatenously

Gary Thomas wrote:
> Venkatesh, Subbu wrote:
>> Hello Gary,
>> I have already emailed the patch, here is the link..
>>  http://patchwork.kernel.org/patch/24196/
>
> Thanks, I'll give it a try.

I applied this patch to Tomi's tree (cloned today), but no joy:
  http://www.bat.org/~tomba/git/linux-omap-dss.git commit 72f7d3309a25dd9f39c292aa15e41a719a734867

  CC      arch/arm/mach-omap2/board-ldp.o
/local/linux-omap-dss/arch/arm/mach-omap2/board-ldp.c:317: warning: 'struct omap_display' declared inside parameter list
/local/linux-omap-dss/arch/arm/mach-omap2/board-ldp.c:317: warning: its scope is only this definition or declaration, which is probably not what you want
/local/linux-omap-dss/arch/arm/mach-omap2/board-ldp.c:332: warning: 'struct omap_display' declared inside parameter list
/local/linux-omap-dss/arch/arm/mach-omap2/board-ldp.c:342: error: variable 'omap_ldp_display_data_tv' has initializer but incomplete type

How do I get a working tree with this patch applied?

>
>> ________________________________________
>> From: Gary Thomas [gary@mlbassoc.com]
>> Sent: Tuesday, June 02, 2009 10:38 AM
>> To: Venkatesh, Subbu
>> Cc: linux-omap@vger.kernel.org; Shah, Hardik; tomi.valkeinen@nokia.com
>> Subject: Re: DSS2: How to test TV and LCD output simulatenously
>>
>> Venkatesh, Subbu wrote:
>>> Hi Gary,
>>> LDP is a development board, I have to work on LDP panel driver  and BSP code to support new DSS2, It is ported on linux-omap tree.
>>> I am still working on testing the features. For camera I might move into V4l2, but I cannot confirm this, I am still working on testing the Framebuffer features.
>> How much of this can you share?  I'd like to try this on my LDP (Zoom1)
>> and then get it ported to my own hardware (very similar to Zoom1)
>>
>> Thanks
>>
>>> ________________________________________
>>> From: Gary Thomas [gary@mlbassoc.com]
>>> Sent: Tuesday, June 02, 2009 6:52 AM
>>> To: Venkatesh, Subbu
>>> Cc: linux-omap@vger.kernel.org; Shah, Hardik; tomi.valkeinen@nokia.com
>>> Subject: Re: DSS2: How to test TV and LCD output simulatenously
>>>
>>> Venkatesh, Subbu 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.
>>> What does "DSS2 ported on LDP board" mean?  What source tree/branch did you use?
>>>
>>>> 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.
>>> Is this stuff documented somewhere?  Like the difference
>>> between DSS1 and DSS2?  How the various layers and overlays
>>> are supposed to work?  What about the camera interface?
>


--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: DSS2: How to test TV and LCD output simulatenously
  2009-06-02 19:27             ` Venkatesh, Subbu
@ 2009-06-02 21:04               ` Gary Thomas
  0 siblings, 0 replies; 13+ messages in thread
From: Gary Thomas @ 2009-06-02 21:04 UTC (permalink / raw)
  To: Venkatesh, Subbu; +Cc: linux-omap, Shah, Hardik, tomi.valkeinen

Venkatesh, Subbu wrote:
> Hi Gary,
> I just got to know Tomi's tree underwent lots of changes after mailing this patch, since Tomi has no target to commit, so I will update my tree and resend the patch, let me know.

Yes, that would be appreciated.  I had a look at the commits in
Tomi's tree since May 14 (latest date which your patch _might_ be OK)
and they are significant.

Looking forward to your updated patch.

Thanks

> ________________________________________
> From: Gary Thomas [gary@mlbassoc.com]
> Sent: Tuesday, June 02, 2009 2:02 PM
> To: Venkatesh, Subbu
> Cc: linux-omap@vger.kernel.org; Shah, Hardik; tomi.valkeinen@nokia.com
> Subject: Re: DSS2: How to test TV and LCD output simulatenously
> 
> Gary Thomas wrote:
>> Venkatesh, Subbu wrote:
>>> Hello Gary,
>>> I have already emailed the patch, here is the link..
>>>  http://patchwork.kernel.org/patch/24196/
>> Thanks, I'll give it a try.
> 
> I applied this patch to Tomi's tree (cloned today), but no joy:
>   http://www.bat.org/~tomba/git/linux-omap-dss.git commit 72f7d3309a25dd9f39c292aa15e41a719a734867
> 
>   CC      arch/arm/mach-omap2/board-ldp.o
> /local/linux-omap-dss/arch/arm/mach-omap2/board-ldp.c:317: warning: 'struct omap_display' declared inside parameter list
> /local/linux-omap-dss/arch/arm/mach-omap2/board-ldp.c:317: warning: its scope is only this definition or declaration, which is probably not what you want
> /local/linux-omap-dss/arch/arm/mach-omap2/board-ldp.c:332: warning: 'struct omap_display' declared inside parameter list
> /local/linux-omap-dss/arch/arm/mach-omap2/board-ldp.c:342: error: variable 'omap_ldp_display_data_tv' has initializer but incomplete type
> 
> How do I get a working tree with this patch applied?
> 
>>> ________________________________________
>>> From: Gary Thomas [gary@mlbassoc.com]
>>> Sent: Tuesday, June 02, 2009 10:38 AM
>>> To: Venkatesh, Subbu
>>> Cc: linux-omap@vger.kernel.org; Shah, Hardik; tomi.valkeinen@nokia.com
>>> Subject: Re: DSS2: How to test TV and LCD output simulatenously
>>>
>>> Venkatesh, Subbu wrote:
>>>> Hi Gary,
>>>> LDP is a development board, I have to work on LDP panel driver  and BSP code to support new DSS2, It is ported on linux-omap tree.
>>>> I am still working on testing the features. For camera I might move into V4l2, but I cannot confirm this, I am still working on testing the Framebuffer features.
>>> How much of this can you share?  I'd like to try this on my LDP (Zoom1)
>>> and then get it ported to my own hardware (very similar to Zoom1)
>>>
>>> Thanks
>>>
>>>> ________________________________________
>>>> From: Gary Thomas [gary@mlbassoc.com]
>>>> Sent: Tuesday, June 02, 2009 6:52 AM
>>>> To: Venkatesh, Subbu
>>>> Cc: linux-omap@vger.kernel.org; Shah, Hardik; tomi.valkeinen@nokia.com
>>>> Subject: Re: DSS2: How to test TV and LCD output simulatenously
>>>>
>>>> Venkatesh, Subbu 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.
>>>> What does "DSS2 ported on LDP board" mean?  What source tree/branch did you use?
>>>>
>>>>> 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.
>>>> Is this stuff documented somewhere?  Like the difference
>>>> between DSS1 and DSS2?  How the various layers and overlays
>>>> are supposed to work?  What about the camera interface?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-06-02 21:04 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-02  2:24 DSS2: How to test TV and LCD output simulatenously Venkatesh, Subbu
2009-06-02  4:22 ` halli manjunatha
2009-06-02  8:21   ` Tomi Valkeinen
2009-06-02 12:46     ` Venkatesh, Subbu
2009-06-02 11:52 ` Gary Thomas
2009-06-02 11:57   ` Tomi Valkeinen
2009-06-02 12:49   ` Venkatesh, Subbu
2009-06-02 15:38     ` Gary Thomas
2009-06-02 15:51       ` Venkatesh, Subbu
2009-06-02 16:01         ` Gary Thomas
2009-06-02 19:02           ` Gary Thomas
2009-06-02 19:27             ` Venkatesh, Subbu
2009-06-02 21:04               ` Gary Thomas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.