Manuel Lauss wrote: > Michael Marineau wrote: > >> Thses patches resume ATI radeon cards from acpi S3 suspend when using >> radeonfb by reposting the video bios. This is needed to be able to use >> S3 when the framebuffer is enabled. > > > These patches break resume from S3 for me. On a vanilla kernel, > radeonfb comes back fine, with your patches applied, the backlight > gets turned on (by BIOS I think) and shortly afterwards its turned off > for good. (Radeon M11 on Sony Vaio) > Ok, attached is a patch to only attempt a vga post on Rv250 cards (M9) which I have in my laptop. I'm guessing cards older than M9 might also be helped with this patch, but better to be conservative than risk breaking systems that do work properly. -- Michael Marineau [email protected] Oregon State University
Index: linux-2.6.13-rc7/drivers/video/aty/radeon_pm.c =================================================================== --- linux-2.6.13-rc7.orig/drivers/video/aty/radeon_pm.c +++ linux-2.6.13-rc7/drivers/video/aty/radeon_pm.c @@ -2790,7 +2790,8 @@ void radeonfb_pm_init(struct radeonfb_in #endif /* defined(CONFIG_PM) && defined(CONFIG_PPC_OF) */ #if defined(CONFIG_ACPI) && defined(CONFIG_X86) - if (rinfo->is_mobility && rinfo->pm_reg) { + if (rinfo->is_mobility && rinfo->pm_reg && + rinfo->family == CHIP_FAMILY_RV250) { rinfo->reinit_func = radeon_reinitialize_vgapost; rinfo->pm_mode |= radeon_pm_post; }
Attachment:
signature.asc
Description: OpenPGP digital signature
- References:
- [PATCH 0/3] Radeon acpi vgapost
- From: Michael Marineau <[email protected]>
- Re: [PATCH 0/3] Radeon acpi vgapost
- From: Manuel Lauss <[email protected]>
- [PATCH 0/3] Radeon acpi vgapost
- Prev by Date: Re: when or where can the case occur in "linux kernel development " about "kernel preemption"?
- Next by Date: Re: [PATCH 0/3] Radeon acpi vgapost
- Previous by thread: Re: [PATCH 0/3] Radeon acpi vgapost
- Next by thread: Re: [PATCH 0/3] Radeon acpi vgapost
- Index(es):