From: Pavel Machek Subject: Re: Dell D600: teaching radeonfb how to wake up... Date: Mon, 24 Nov 2003 18:39:14 +0100 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20031124173914.GB298@elf.ucw.cz> References: <20031119180119.GB22307@tate.loria.fr> <20031122163147.GA26528@tate.loria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20031122163147.GA26528-xkTd+U360DcAs8EywTwl9A@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Emmanuel Thome Cc: ole.rohne-vJEk5272eHo@public.gmane.org, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org Hi! > Great big thanks ! Works for me as well (the int10 part for xfree ; > haven't tried fb code yet. According to benh, restoring pci state as you > do is likely not to help much). Does this mean that we should call int 0x10 with ah=0xe6 to correctly initialize video? Pavel > + if (INREG(RADEON_CONFIG_MEMSIZE) == 0) { /* Softboot V_BIOS */ > + xf86Int10InfoPtr pInt; > + xf86DrvMsg(pScrn->scrnIndex, X_WARNING, > + "zero MEMSIZE, probably at D3cold. Re-POSTing via int10.\n"); > + pInt = xf86InitInt10 (info->pEnt->index); > + if (pInt) { > + pInt->num = 0xe6; > + xf86ExecX86int10 (pInt); > + xf86FreeInt10 (pInt); > + } > + } > + > if (info->FBDev) { > unsigned char *RADEONMMIO = info->MMIO; > if (!fbdevHWEnterVT(scrnIndex,flags)) return FALSE; -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/