[ltp] (T41p) Radeon+more interrupts (powertop) after console or resume - vblank patch problem?!?

Alex Deucher linux-thinkpad@linux-thinkpad.org
Tue, 8 Jan 2008 10:12:01 -0500


On Jan 8, 2008 6:07 AM, Nils <linuxuser@knabber.homelinux.net> wrote:
> Hi there,
>
> I've a strange problem with Xorg. After a fresh system restart and login into
> X everything works fine.
>
> Powertop shows: (always without WLAN !!)
> < 20 Wakeups-from-idle per second.
> C4 (97,3%)
> 600 MHz   (100,0%)
>
> Then I switch to console-screen and back to X (or sleep/resume with the same
> result) and now the powertop application shows:
> ~ 80 Wakeups-from-idle per second.
> C2 (87,3%)
> C4 (0,0 %)
> 600 MHz   (100,0%)
> and I see this new line:
>  72,6% ( 96,8)   <interrupt> :Intel 82801DB-ICH4, radeon@pci:0000:01:00.0
>
> It seems that the vblank-patch or everything else has to be reinitialize the
> radeon card. I use the following really ugly patch:
>
> 1.) After system reboot I save the radeon state in the working state at low
> power consumption with: "vbetool vbestate save > /tmp/vbestate"
>
> 2.) After changing to the console-screen or resuming I reinitialize the card
> with: "vbetool post && vbetool restore < /tmp/vbestate"
>
> -> The screen looks a little bit corrupt after the second command, but it's
> working.
>
> Does anybody know a better solution or how to modify the vblank patch? Or is
> this another problem?

This should be fixed in ati git master.

Alex