linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rcar-h2 du issue between du0 and du2
@ 2013-11-12 16:04 Ben Dooks
  2013-11-13  2:44 ` Laurent Pinchart
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ben Dooks @ 2013-11-12 16:04 UTC (permalink / raw)
  To: linux-sh

I am using the 3.4 renesas backport (0.5.1) and having issue with the
rcar_du driver with any du0 and du2 having seperate operating modes.

du2 seems to be picking up the data width of du0, so if du0 is at
1920x1080 and du2 at 800x600, du2 will show a display as if du2 data
was at a 1920 stride.

If both du0 and du2 are at 800x600 then both show the right display
data,

-- 
Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius

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

* Re: rcar-h2 du issue between du0 and du2
  2013-11-12 16:04 rcar-h2 du issue between du0 and du2 Ben Dooks
@ 2013-11-13  2:44 ` Laurent Pinchart
  2013-11-13 10:24 ` Ben Dooks
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Laurent Pinchart @ 2013-11-13  2:44 UTC (permalink / raw)
  To: linux-sh

Hi Ben,

On Tuesday 12 November 2013 16:04:38 Ben Dooks wrote:
> I am using the 3.4 renesas backport (0.5.1) and having issue with the
> rcar_du driver with any du0 and du2 having seperate operating modes.
> 
> du2 seems to be picking up the data width of du0, so if du0 is at
> 1920x1080 and du2 at 800x600, du2 will show a display as if du2 data
> was at a 1920 stride.
> 
> If both du0 and du2 are at 800x600 then both show the right display
> data,

Ouch. Thank you for the report. I'll test and debug that. What's the urgency 
level ?

-- 
Regards,

Laurent Pinchart


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

* Re: rcar-h2 du issue between du0 and du2
  2013-11-12 16:04 rcar-h2 du issue between du0 and du2 Ben Dooks
  2013-11-13  2:44 ` Laurent Pinchart
@ 2013-11-13 10:24 ` Ben Dooks
  2013-11-14 12:52 ` Ben Dooks
  2013-11-14 13:24 ` Laurent Pinchart
  3 siblings, 0 replies; 5+ messages in thread
From: Ben Dooks @ 2013-11-13 10:24 UTC (permalink / raw)
  To: linux-sh

On 13/11/13 02:44, Laurent Pinchart wrote:
> Hi Ben,
>
> On Tuesday 12 November 2013 16:04:38 Ben Dooks wrote:
>> I am using the 3.4 renesas backport (0.5.1) and having issue with the
>> rcar_du driver with any du0 and du2 having seperate operating modes.
>>
>> du2 seems to be picking up the data width of du0, so if du0 is at
>> 1920x1080 and du2 at 800x600, du2 will show a display as if du2 data
>> was at a 1920 stride.
>>
>> If both du0 and du2 are at 800x600 then both show the right display
>> data,
>
> Ouch. Thank you for the report. I'll test and debug that. What's the urgency
> level ?

Medium, there's other stuff that I can be getting on with.

I've been looking through the H2 manual but there's nothing specifically
saying the DU0 and DU2 planes should be linked. I know DU0_0 and DU0_1
are basically linked.

We are using the Lager board as following:

We have DU0 outputting LVDS to the ADV7511 to provide DVI
DU2 is connected to the DPAD0 to the VGA

DU0 is configured for 1920x1080-60, 32bpp
DU2 is configured for 800x600-60, 32bpp

DU2 has been verified as outputting 800x600-60 display timings.


-- 
Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius

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

* Re: rcar-h2 du issue between du0 and du2
  2013-11-12 16:04 rcar-h2 du issue between du0 and du2 Ben Dooks
  2013-11-13  2:44 ` Laurent Pinchart
  2013-11-13 10:24 ` Ben Dooks
@ 2013-11-14 12:52 ` Ben Dooks
  2013-11-14 13:24 ` Laurent Pinchart
  3 siblings, 0 replies; 5+ messages in thread
From: Ben Dooks @ 2013-11-14 12:52 UTC (permalink / raw)
  To: linux-sh

On 13/11/13 02:44, Laurent Pinchart wrote:
> Hi Ben,
>
> On Tuesday 12 November 2013 16:04:38 Ben Dooks wrote:
>> I am using the 3.4 renesas backport (0.5.1) and having issue with the
>> rcar_du driver with any du0 and du2 having seperate operating modes.
>>
>> du2 seems to be picking up the data width of du0, so if du0 is at
>> 1920x1080 and du2 at 800x600, du2 will show a display as if du2 data
>> was at a 1920 stride.
>>
>> If both du0 and du2 are at 800x600 then both show the right display
>> data,
>
> Ouch. Thank you for the report. I'll test and debug that. What's the urgency
> level ?

I've found the issue, it was with a change we did to the kernel to split
the displays and accidentally sent the same block of memory to both du 
units. Sorry for the inconvenience, it is working now.


-- 
Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius

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

* Re: rcar-h2 du issue between du0 and du2
  2013-11-12 16:04 rcar-h2 du issue between du0 and du2 Ben Dooks
                   ` (2 preceding siblings ...)
  2013-11-14 12:52 ` Ben Dooks
@ 2013-11-14 13:24 ` Laurent Pinchart
  3 siblings, 0 replies; 5+ messages in thread
From: Laurent Pinchart @ 2013-11-14 13:24 UTC (permalink / raw)
  To: linux-sh

Hi Ben,

On Thursday 14 November 2013 12:52:06 Ben Dooks wrote:
> On 13/11/13 02:44, Laurent Pinchart wrote:
> > On Tuesday 12 November 2013 16:04:38 Ben Dooks wrote:
> >> I am using the 3.4 renesas backport (0.5.1) and having issue with the
> >> rcar_du driver with any du0 and du2 having seperate operating modes.
> >> 
> >> du2 seems to be picking up the data width of du0, so if du0 is at
> >> 1920x1080 and du2 at 800x600, du2 will show a display as if du2 data
> >> was at a 1920 stride.
> >> 
> >> If both du0 and du2 are at 800x600 then both show the right display
> >> data,
> > 
> > Ouch. Thank you for the report. I'll test and debug that. What's the
> > urgency level ?
> 
> I've found the issue, it was with a change we did to the kernel to split
> the displays and accidentally sent the same block of memory to both du
> units.

Good, that means less work for me then :-)

> Sorry for the inconvenience, it is working now.

No worries.

-- 
Regards,

Laurent Pinchart


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

end of thread, other threads:[~2013-11-14 13:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-12 16:04 rcar-h2 du issue between du0 and du2 Ben Dooks
2013-11-13  2:44 ` Laurent Pinchart
2013-11-13 10:24 ` Ben Dooks
2013-11-14 12:52 ` Ben Dooks
2013-11-14 13:24 ` Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).