All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jaco Kroon <jaco-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
To: Pavel Machek <pavel-AlSwsSmVLrQ@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Toshiba Satellite P10 + ati-drivers (fglrx)
Date: Sun, 25 Dec 2005 22:32:32 +0200	[thread overview]
Message-ID: <43AF01E0.2020701@kroon.co.za> (raw)
In-Reply-To: <20051225084728.GE2183-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1681 bytes --]

Pavel Machek wrote:
>>Now, initially when I switch back to X I get the correct image on the
>>bottom third of the screen with the top two thirds seemingly corrupted.
>> This is pretty normal and is identical to what I normally see when
>>switching between consoles and X.  This lasts for about half a second
>>before it freezes up and causes a hard-lock.  Normally the screen just
>>resets itself at the time it now locks up.
> 
> 
> I'm sorry, there's no way we can help you with fglrx. I'm glad at
> least s-t-disk works.

Was the ati-agp module in the kernel.  Adding some suspend/resume
support for that module fixes all and I can now happily suspend-to-ram
and successfully resume.  I've mailed a patch to the agpgart maintainer
and cc'ed the lkml.  For refference purposes the patch (based on
http://unixhead.org/docs/thinkpad/ati-agp/ati-agp.diff) is as follows,
and I'll also make it available on my website:

--- 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-25
22:23:33.000000000 +0200
@@ -243,6 +243,15 @@
 	return 0;
 }

+static int ati_resume(struct pci_dev *dev)
+{
+	return ati_configure();
+}
+
+static int ati_suspend(struct pci_dev *dev, pm_message_t state)
+{
+	return 0;
+}

 /*
  *Since we don't need contigious memory we just try
@@ -525,6 +534,8 @@
 	.id_table	= agp_ati_pci_table,
 	.probe		= agp_ati_probe,
 	.remove		= agp_ati_remove,
+	.resume		= ati_resume,
+	.suspend	= ati_suspend,
 };

 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 --]

  parent reply	other threads:[~2005-12-25 20:32 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-21  6:43 Toshiba Satellite P10 Jaco Kroon
     [not found] ` <43A8F98D.3000704-W7S27g77yncFbeUAN25fX/d9D2ou9A/h@public.gmane.org>
2005-12-22 11:02   ` Pavel Machek
     [not found]     ` <20051222110219.GB9838-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-22 12:04       ` Stefan Seyfried
     [not found]         ` <20051222120413.GA28743-l3A5Bk7waGM@public.gmane.org>
2005-12-22 13:59           ` Jaco Kroon
     [not found]             ` <43AAB13E.4080206-W7S27g77yncFbeUAN25fX/d9D2ou9A/h@public.gmane.org>
2005-12-22 14:23               ` Pavel Machek
2005-12-22 16:06               ` Stefan Seyfried
     [not found]                 ` <20051222160633.GA3316-l3A5Bk7waGM@public.gmane.org>
2005-12-23  6:44                   ` Jaco Kroon
     [not found]                     ` <43AB9CD2.9090106-W7S27g77yncFbeUAN25fX/d9D2ou9A/h@public.gmane.org>
2005-12-23 11:12                       ` Pavel Machek
     [not found]                         ` <20051223111239.GB10748-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-23 16:53                           ` Jaco Kroon
     [not found]                             ` <43AC2B95.9060901-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-23 17:24                               ` Pavel Machek
     [not found]                                 ` <20051223172459.GB15357-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-23 22:57                                   ` Jaco Kroon
     [not found]                                     ` <43AC80F3.6040605-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-23 23:01                                       ` Pavel Machek
     [not found]                                         ` <20051223230133.GC16104-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-24  0:07                                           ` Jaco Kroon
     [not found]                                             ` <43AC9127.10007-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-24  0:25                                               ` Pavel Machek
     [not found]                                                 ` <20051224002527.GA16285-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-24  0:35                                                   ` Jaco Kroon
     [not found]                                                     ` <43AC97E7.1030800-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-24  0:38                                                       ` Pavel Machek
     [not found]                                                         ` <20051224003808.GB16285-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-24  8:45                                                           ` Jaco Kroon
     [not found]                                                             ` <43AD0AC6.9060904-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-24  8:54                                                               ` Stefan Seyfried
     [not found]                                                                 ` <20051224085403.GB23539-l3A5Bk7waGM@public.gmane.org>
2005-12-24  9:13                                                                   ` Jaco Kroon
     [not found]                                                                     ` <43AD113F.4090601-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-24 12:02                                                                       ` Jaco Kroon
     [not found]                                                                         ` <43AD38C5.5030203-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-24 12:22                                                                           ` Pavel Machek
     [not found]                                                                             ` <20051224122218.GG26351-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-24 12:45                                                                               ` Jaco Kroon
2005-12-24 10:44                                                               ` Manuel Lauss
     [not found]                                                                 ` <43AD2676.10703-nEyxjcs6f3Vin2gBucwGBecsttgLyre6@public.gmane.org>
2005-12-24 11:21                                                                   ` Jaco Kroon
     [not found]                                                                     ` <43AD2F3F.7010003-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-24 11:47                                                                       ` Pavel Machek
     [not found]                                                                         ` <20051224114758.GD26351-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-24 12:35                                                                           ` Jaco Kroon
     [not found]                                                                             ` <43AD407A.5020708-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-24 12:49                                                                               ` Pavel Machek
     [not found]                                                                                 ` <20051224124903.GH26351-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-24 13:14                                                                                   ` Toshiba Satellite P10 [Solved] Jaco Kroon
     [not found]                                                                                     ` <43AD49A8.3010708-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-24 13:57                                                                                       ` Pavel Machek
     [not found]                                                                                         ` <20051224135756.GI26351-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-25  8:26                                                                                           ` Toshiba Satellite P10 + ati-drivers (fglrx) Jaco Kroon
     [not found]                                                                                             ` <43AE57B4.7030008-P18QfuJFXGPYkQIYctQFYw@public.gmane.org>
2005-12-25  8:47                                                                                               ` Pavel Machek
     [not found]                                                                                                 ` <20051225084728.GE2183-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-25 16:16                                                                                                   ` Jaco Kroon
2005-12-25 20:32                                                                                                   ` Jaco Kroon [this message]
2005-12-24 11:46                                                               ` Toshiba Satellite P10 Pavel Machek
     [not found]                                                                 ` <20051224114621.GC26351-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-12-24 12:43                                                                   ` Jaco Kroon
2005-12-23 13:43                       ` Sebastian Henschel
2005-12-23 23:25                       ` Matthew Garrett
     [not found]                         ` <20051223232505.GA21166-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2005-12-23 23:59                           ` Jaco Kroon
2005-12-22 14:15           ` Holger Macht
     [not found]             ` <20051222141500.GA15412-+Mg20aWpcBQb1SvskN2V4Q@public.gmane.org>
2005-12-22 14:28               ` Jaco Kroon

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=43AF01E0.2020701@kroon.co.za \
    --to=jaco-p18qfujfxgpykqiyctqfyw@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=pavel-AlSwsSmVLrQ@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.