From: Jaco Kroon <jaco@kroon.co.za>
To: Pavel Machek <pavel@ucw.cz>
Cc: linux-kernel@vger.kernel.org, davej@codemonkey.org.uk
Subject: [PATCH] ati-agp suspend/resume support (try 2)
Date: Mon, 26 Dec 2005 06:52:52 +0200 [thread overview]
Message-ID: <43AF7724.8090302@kroon.co.za> (raw)
[-- Attachment #1: Type: text/plain, Size: 837 bytes --]
Based on the patch at
http://unixhead.org/docs/thinkpad/ati-agp/ati-agp.diff, add support for
suspend/resume in the ati-agp module.
Signed-of-by: Jaco Kroon <jaco@kroon.co.za>
--- linux-2.6.15-rc6/drivers/char/agp/ati-agp.c.orig 2005-12-25
22:21:32.000000000 +0200
+++ linux-2.6.15-rc6/drivers/char/agp/ati-agp.c 2005-12-26
06:47:26.000000000 +0200
@@ -243,6 +243,10 @@
return 0;
}
+static int agp_ati_resume(struct pci_dev *dev)
+{
+ return ati_configure();
+}
/*
*Since we don't need contigious memory we just try
@@ -525,6 +529,7 @@
.id_table = agp_ati_pci_table,
.probe = agp_ati_probe,
.remove = agp_ati_remove,
+ .resume = agp_ati_resume,
};
static int __init agp_ati_init(void)
--
There are only 10 kinds of people in this world,
those that understand binary and those that don't.
http://www.kroon.co.za/
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3166 bytes --]
next reply other threads:[~2005-12-26 4:53 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-26 4:52 Jaco Kroon [this message]
2005-12-26 8:29 ` [PATCH] ati-agp suspend/resume support (try 2) Pavel Machek
2005-12-26 8:55 ` recommended mail clients [was] " Jaco Kroon
2005-12-26 14:38 ` Steven Rostedt
2005-12-26 15:35 ` Alistair John Strachan
2005-12-26 17:54 ` Lee Revell
2005-12-26 18:09 ` Jason Munro
2005-12-26 18:19 ` Lee Revell
2005-12-26 18:28 ` recommended mail clients Jaco Kroon
2005-12-26 18:43 ` Lee Revell
2005-12-26 18:47 ` Jaco Kroon
2005-12-26 18:48 ` Lee Revell
2005-12-26 18:47 ` Christoph Hellwig
2005-12-26 18:54 ` Jaco Kroon
2005-12-29 9:49 ` Coywolf Qi Hunt
2005-12-26 18:58 ` Randy.Dunlap
2005-12-26 19:04 ` Jaco Kroon
2005-12-26 19:12 ` Jaco Kroon
2005-12-27 21:55 ` Ryan Anderson
2005-12-26 19:18 ` Jeff Garzik
2005-12-26 19:32 ` Lee Revell
2005-12-26 20:32 ` Pavel Machek
2005-12-26 18:24 ` recommended mail clients [was] [PATCH] ati-agp suspend/resume support (try 2) Lee Revell
2005-12-26 22:33 ` Jan Engelhardt
2005-12-26 20:03 ` Alistair John Strachan
2005-12-26 21:00 ` Lee Revell
2005-12-28 0:05 ` Michael Clark
2005-12-28 0:33 ` Lee Revell
2005-12-28 1:09 ` Peter Williams
2005-12-28 2:01 ` Michael Clark
2005-12-28 2:10 ` Steven Rostedt
2005-12-28 2:14 ` Randy.Dunlap
2005-12-28 12:44 ` Paolo Ornati
2005-12-28 2:12 ` Randy.Dunlap
2005-12-28 3:22 ` Peter Williams
2005-12-28 3:28 ` Michael Clark
2005-12-28 3:33 ` Randy.Dunlap
2005-12-28 3:39 ` Randy.Dunlap
2005-12-28 7:22 ` Stefan Smietanowski
2005-12-26 22:26 ` Jan Engelhardt
2005-12-27 15:20 ` Jason Munro
2005-12-27 15:45 ` Pavel Machek
2005-12-26 15:05 ` Lee Revell
2005-12-26 18:50 ` Randy.Dunlap
2005-12-27 15:48 ` Bob Copeland
[not found] ` <mailman.1135587661.17617.linux-kernel2news@redhat.com>
2005-12-31 3:28 ` Pete Zaitcev
2006-01-02 21:27 ` Tomasz Torcz
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=43AF7724.8090302@kroon.co.za \
--to=jaco@kroon.co.za \
--cc=davej@codemonkey.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
/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