Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-09 Thread Bodo Eggert
On Tue, 9 Aug 2005, Bodo Eggert wrote: > On Mon, 8 Aug 2005, Benjamin Herrenschmidt wrote: > > On Mon, 2005-08-08 at 02:06 +0200, Bodo Eggert wrote: > > > The wrong values are constant across reboots (see my first mail), and I > > > have a CRT. > > > > > > Can you tell me where the timing

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-09 Thread Bodo Eggert
On Mon, 8 Aug 2005, Benjamin Herrenschmidt wrote: > On Mon, 2005-08-08 at 02:06 +0200, Bodo Eggert wrote: > > The wrong values are constant across reboots (see my first mail), and I > > have a CRT. > > > > Can you tell me where the timing values are read? > > radeon_write_mode() programs the

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-09 Thread Bodo Eggert
On Mon, 8 Aug 2005, Benjamin Herrenschmidt wrote: On Mon, 2005-08-08 at 02:06 +0200, Bodo Eggert wrote: The wrong values are constant across reboots (see my first mail), and I have a CRT. Can you tell me where the timing values are read? radeon_write_mode() programs the mode. The

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-09 Thread Bodo Eggert
On Tue, 9 Aug 2005, Bodo Eggert wrote: On Mon, 8 Aug 2005, Benjamin Herrenschmidt wrote: On Mon, 2005-08-08 at 02:06 +0200, Bodo Eggert wrote: The wrong values are constant across reboots (see my first mail), and I have a CRT. Can you tell me where the timing values are read?

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-08 Thread Benjamin Herrenschmidt
On Mon, 2005-08-08 at 02:06 +0200, Bodo Eggert wrote: > The wrong values are constant across reboots (see my first mail), and I > have a CRT. > > Can you tell me where the timing values are read? radeon_write_mode() programs the mode. The monitor timing infos are read by the various bits of

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-08 Thread Benjamin Herrenschmidt
On Mon, 2005-08-08 at 02:06 +0200, Bodo Eggert wrote: The wrong values are constant across reboots (see my first mail), and I have a CRT. Can you tell me where the timing values are read? radeon_write_mode() programs the mode. The monitor timing infos are read by the various bits of code

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-07 Thread Kyle Moffett
On Aug 7, 2005, at 21:13:54, Kyle Moffett wrote: On Aug 7, 2005, at 12:13:38, Benjamin Herrenschmidt wrote: _However_ there is an unrelated problem with some panels, including some of the 17": The panel doesn't always "sync" properly. This seem to be related to some subtle timing issue in the

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-07 Thread Kyle Moffett
On Aug 7, 2005, at 12:13:38, Benjamin Herrenschmidt wrote: I've got an LCD, and on mine it looks like every third pixel-line gets shifted about 32-64 pixels to the left, and they move with display refresh. My guess is that something is interrupting radeonfb during a critical time in display

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-07 Thread Bodo Eggert
On Sun, 7 Aug 2005, Benjamin Herrenschmidt wrote: > On Sun, 2005-08-07 at 19:25 +0200, Bodo Eggert wrote: > > On Sun, 7 Aug 2005, Kyle Moffett wrote: > > > On Aug 7, 2005, at 03:51:07, Benjamin Herrenschmidt wrote: > > > > Ah ! Interesting... I don't see why PREEMPT would affect radeonfb > > > >

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-07 Thread Benjamin Herrenschmidt
On Sun, 2005-08-07 at 19:25 +0200, Bodo Eggert wrote: > On Sun, 7 Aug 2005, Kyle Moffett wrote: > > On Aug 7, 2005, at 03:51:07, Benjamin Herrenschmidt wrote: > > > > Ah ! Interesting... I don't see why PREEMPT would affect radeonfb > > > though ... Can you try something like wrapper

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-07 Thread Bodo Eggert
On Sun, 7 Aug 2005, Kyle Moffett wrote: > On Aug 7, 2005, at 03:51:07, Benjamin Herrenschmidt wrote: > > Ah ! Interesting... I don't see why PREEMPT would affect radeonfb > > though ... Can you try something like wrapper radeon_write_mode() with > > preempt_disable()/preempt_enable() and tell me

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-07 Thread Benjamin Herrenschmidt
> I'm having a similar issue with my shiny new 17" Powerbook G4. The > radeon chip works fine with framebuffer in 2.6.12.4 _with_ PREEMPT, > but not in 2.6.13-rc5 _with_ PREEMPT (configs are virtually identical). > I'll try your idea this afternoon when I get the chance. Note that PREEMPT is

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-07 Thread Kyle Moffett
On Aug 7, 2005, at 03:51:07, Benjamin Herrenschmidt wrote: On Fri, 2005-08-05 at 19:38 +0200, Bodo Eggert wrote: On Fri, 5 Aug 2005, Benjamin Herrenschmidt wrote: On Fri, 2005-08-05 at 00:03 +0200, Bodo Eggert wrote: My CRT is out of sync after radeonfb from 2.6.13-rc5 is initialized.

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-07 Thread Benjamin Herrenschmidt
On Fri, 2005-08-05 at 19:38 +0200, Bodo Eggert wrote: > On Fri, 5 Aug 2005, Benjamin Herrenschmidt wrote: > > > On Fri, 2005-08-05 at 00:03 +0200, Bodo Eggert wrote: > > > My CRT is out of sync after radeonfb from 2.6.13-rc5 is initialized. > > > 2.6.12 does not show this behaviour. > > > > I'm

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-07 Thread Benjamin Herrenschmidt
On Fri, 2005-08-05 at 19:38 +0200, Bodo Eggert wrote: On Fri, 5 Aug 2005, Benjamin Herrenschmidt wrote: On Fri, 2005-08-05 at 00:03 +0200, Bodo Eggert wrote: My CRT is out of sync after radeonfb from 2.6.13-rc5 is initialized. 2.6.12 does not show this behaviour. I'm out of town

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-07 Thread Kyle Moffett
On Aug 7, 2005, at 03:51:07, Benjamin Herrenschmidt wrote: On Fri, 2005-08-05 at 19:38 +0200, Bodo Eggert wrote: On Fri, 5 Aug 2005, Benjamin Herrenschmidt wrote: On Fri, 2005-08-05 at 00:03 +0200, Bodo Eggert wrote: My CRT is out of sync after radeonfb from 2.6.13-rc5 is initialized.

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-07 Thread Benjamin Herrenschmidt
I'm having a similar issue with my shiny new 17 Powerbook G4. The radeon chip works fine with framebuffer in 2.6.12.4 _with_ PREEMPT, but not in 2.6.13-rc5 _with_ PREEMPT (configs are virtually identical). I'll try your idea this afternoon when I get the chance. Note that PREEMPT is known

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-07 Thread Bodo Eggert
On Sun, 7 Aug 2005, Kyle Moffett wrote: On Aug 7, 2005, at 03:51:07, Benjamin Herrenschmidt wrote: Ah ! Interesting... I don't see why PREEMPT would affect radeonfb though ... Can you try something like wrapper radeon_write_mode() with preempt_disable()/preempt_enable() and tell me if it

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-07 Thread Benjamin Herrenschmidt
On Sun, 2005-08-07 at 19:25 +0200, Bodo Eggert wrote: On Sun, 7 Aug 2005, Kyle Moffett wrote: On Aug 7, 2005, at 03:51:07, Benjamin Herrenschmidt wrote: Ah ! Interesting... I don't see why PREEMPT would affect radeonfb though ... Can you try something like wrapper radeon_write_mode()

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-07 Thread Bodo Eggert
On Sun, 7 Aug 2005, Benjamin Herrenschmidt wrote: On Sun, 2005-08-07 at 19:25 +0200, Bodo Eggert wrote: On Sun, 7 Aug 2005, Kyle Moffett wrote: On Aug 7, 2005, at 03:51:07, Benjamin Herrenschmidt wrote: Ah ! Interesting... I don't see why PREEMPT would affect radeonfb though ... Can

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-07 Thread Kyle Moffett
On Aug 7, 2005, at 12:13:38, Benjamin Herrenschmidt wrote: I've got an LCD, and on mine it looks like every third pixel-line gets shifted about 32-64 pixels to the left, and they move with display refresh. My guess is that something is interrupting radeonfb during a critical time in display

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-07 Thread Kyle Moffett
On Aug 7, 2005, at 21:13:54, Kyle Moffett wrote: On Aug 7, 2005, at 12:13:38, Benjamin Herrenschmidt wrote: _However_ there is an unrelated problem with some panels, including some of the 17: The panel doesn't always sync properly. This seem to be related to some subtle timing issue in the

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-05 Thread Bodo Eggert
On Fri, 5 Aug 2005, Benjamin Herrenschmidt wrote: > On Fri, 2005-08-05 at 00:03 +0200, Bodo Eggert wrote: > > My CRT is out of sync after radeonfb from 2.6.13-rc5 is initialized. > > 2.6.12 does not show this behaviour. > > I'm out of town at the moment, could you maybe diff radeonfb between >

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-05 Thread Bodo Eggert
On Fri, 5 Aug 2005, Benjamin Herrenschmidt wrote: On Fri, 2005-08-05 at 00:03 +0200, Bodo Eggert wrote: My CRT is out of sync after radeonfb from 2.6.13-rc5 is initialized. 2.6.12 does not show this behaviour. I'm out of town at the moment, could you maybe diff radeonfb between working

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-04 Thread Benjamin Herrenschmidt
On Fri, 2005-08-05 at 00:03 +0200, Bodo Eggert wrote: > My CRT is out of sync after radeonfb from 2.6.13-rc5 is initialized. > 2.6.12 does not show this behaviour. I'm out of town at the moment, could you maybe diff radeonfb between working & non-working and CC me the diff ? I don't have my work

Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-04 Thread Bodo Eggert
My CRT is out of sync after radeonfb from 2.6.13-rc5 is initialized. 2.6.12 does not show this behaviour. dmesg from both systems, trimmed down: 2.6.13-rc5: PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) Boot video device is :01:00.0 PCI: Using IRQ router VIA [1106/0686] at

Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-04 Thread Bodo Eggert
My CRT is out of sync after radeonfb from 2.6.13-rc5 is initialized. 2.6.12 does not show this behaviour. dmesg from both systems, trimmed down: 2.6.13-rc5: PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) Boot video device is :01:00.0 PCI: Using IRQ router VIA [1106/0686] at

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-04 Thread Benjamin Herrenschmidt
On Fri, 2005-08-05 at 00:03 +0200, Bodo Eggert wrote: My CRT is out of sync after radeonfb from 2.6.13-rc5 is initialized. 2.6.12 does not show this behaviour. I'm out of town at the moment, could you maybe diff radeonfb between working non-working and CC me the diff ? I don't have my work