[lkml]   [2005]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH 4/3] Radeon acpi vgapost only Rv250 (M9)
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
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;
}[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2005-08-28 09:43    [W:0.091 / U:7.392 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site