[lkml]   [2006]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [Linux-fbdev-devel] Fwd: [Suspend-devel] resume not working on acer ferrari 4005 with radeonfb enabled
On Friday 17 November 2006 16:41, Stuffed Crust wrote:
> On Fri, Nov 17, 2006 at 01:07:58AM -0500, Stuffed Crust wrote:
> >
> This incorporates the latest round of BenH's fixes and changes, but
> backs out the PCI suspend changes, which need independent review and
> testing.
> (BenH has promised a little more work before he's ready to sign off,
> hence the -WIP2 designation)
> The following patch contains a rewrite of radeonfb's suspend/resume code
> to use standard PCI subsystem calls. It applies to 2.6.19-rc6 and also
> on top of the v7-WIP2 patch.
> Christian, if you could see if the latter patch (on top of the -v6b or
> -WIP2 patches) makes a difference for your suspend/resume problems..
> And with these patches, I'm going to drop offline for a camping trip
> over the weekend. I'll pick this stuff back up on Monday.
> - Solomon


it still locks up.
pci_set_power_state(pdev, PCI_D0);
if (pci_enable_device(pdev)) {
rc = -ENODEV;
printk(KERN_ERR "radeonfb (%s): can't enable PCI device !\n",
goto bail;
if (pdev->dev.power.power_state.event == PM_EVENT_SUSPEND) {
/* Wakeup chip. Check from config space if we were powered off
* (todo: additionally, check CLK_PIN_CNTL too)
if (rinfo->pm_mode & radeon_pm_off) {
if (rinfo->reinit_func != NULL)
else {
printk(KERN_ERR "radeonfb (%s): can't resume
radeon from"
" D3 cold, need softboot !",
rc = -EIO;
goto bail;
/* If we support D2, try to resume... we should check what was
* state though... (were we really in D2 state ?). Right now,
this code
* is only enable on Macs so it's fine.
else if (rinfo->pm_mode & radeon_pm_d2)
radeon_set_suspend(rinfo, 0);

rinfo->asleep = 0;
} else
goto bail;

When I comment out the rinfo->asleep = 0; line, the machine comes back. So it
seems that rinfo struct is still corrupted somehow.

[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2006-11-17 21:39    [W:0.092 / U:1.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site