From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charl P. Botha" Subject: Re: [PATCH] s3_bios and lcall $0xc000,$3 Date: 18 Feb 2003 13:40:05 +0100 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <1045572005.7077.40.camel@dutidad> References: <20030218000206.GC7372@atrey.karlin.mff.cuni.cz> <20030218111954.GB5277@atrey.karlin.mff.cuni.cz> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20030218111954.GB5277-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org On Tue, 2003-02-18 at 12:19, Pavel Machek wrote: > > OTOH - if you suspend/wakeup from within X, I assume (??) that the X server > > will take care of proper card-specific reinitialization ? Haven't > > tried it > > X-server is not able to do *this* hard reinitialization :-(. If the X server is not using DRI, the BIOS initialisation is mostly sufficient, as X resets the correct video mode when one VT switches back. However, if one is using DRI, the BIOS initialisation is OFTEN not even close, so you have to do something like I did to the Radeon drivers: http://cpbotha.net/dri_resume.html My changes do a re-initialisation of card-hardware every VT switch. -- charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf