From: Pavel Machek <pavel@ucw.cz>
To: Aviram Jenik <aviram@beyondsecurity.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: swsusp in test8 fails with intel-agp and i830
Date: Sat, 18 Oct 2003 20:05:51 +0200 [thread overview]
Message-ID: <20031018180551.GB461@elf.ucw.cz> (raw)
In-Reply-To: <200310181717.04001.aviram@beyondsecurity.com>
Hi!
> I am not sure which of the two modules causes the problem, I can only load
> them both. Unfortunately, without those modules the vaio laptop can only give
> 640x480, so this is not much of a workaround...
With vesafb, you should be able to get any resultion you want at
60Hz. Which is okay, because you have LCD.
> To summarize:
> If the intel-agp and i830 modules are not loaded during startup, suspend via
> echo 4 > /proc/acpi/sleep and restore work beautifully. If those modules
> _are_ loaded, and X is running, resume reboots.
Okay,
static int agp_intel_resume(struct pci_dev *pdev)
{
struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
if (bridge->driver == &intel_generic_driver)
intel_configure();
else if (bridge->driver == &intel_845_driver)
intel_845_configure();
return 0;
}
intel_agp tries to implement resume, try to put printk("something");
mdelay(1000); in it and debug it this way.
drivers/char/drm/i830_drv driver is apparently using DMA _and_ has no
suspend/resume support. That looks dangerous to me, perhaps you'll
need to implement those, too.
Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
next prev parent reply other threads:[~2003-10-18 18:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-15 21:47 Suspend to disk very unstable Aviram Jenik
2003-10-16 20:21 ` Pavel Machek
2003-10-18 15:17 ` swsusp in test8 fails with intel-agp and i830 Aviram Jenik
2003-10-18 18:05 ` Pavel Machek [this message]
2003-10-18 22:18 John Mock
2003-10-18 23:06 ` Aviram Jenik
2003-10-20 8:10 John Mock
2003-10-20 12:20 ` Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031018180551.GB461@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=aviram@beyondsecurity.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®