Re: [Linux-fbdev-devel] Fwd: [Suspend-devel] resume not working onacer ferrari 4005 with radeonfb enabled

From: Benjamin Herrenschmidt
Date: Fri Nov 17 2006 - 01:19:04 EST


On Fri, 2006-11-17 at 00:27 -0500, Stuffed Crust wrote:
> On Thu, Nov 16, 2006 at 11:44:40PM +0100, Rafael J. Wysocki wrote:
> > I think the call to radeon_restore_pci_cfg(rinfo) causes the problem to happen.
>
> radeonfb is still using its own code for saving and restoring PCI
> registers; I'm in the process of fixing it up to use proper PCI
> subsystem calls. That will hopefully work better.
>
> It's possible there's a good reason (other than "nobody's ported it over
> yet") that the radeonfb driver is doing it manually, but I don't know
> why that would be the case.

Well, radeonfb has code to bring back some cards from D2 or D3 cold (or
hard reset). It differenciates those states by checking if the config
space has been trashed. We should try to find out some better way.

Cheers,
Ben.


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