The patch titled

     Radeon acpi vgapost only Rv250 (M9)

has been added to the -mm tree.  Its filename is

     radeonfb-s3-acpi-suspend-fix-fix.patch

Patches currently in -mm which might be from [EMAIL PROTECTED] are

generic-acpi-vgapost.patch
radeonfb-s3-acpi-suspend-fix.patch
radeonfb-s3-acpi-suspend-fix-fix.patch
documentation-update-for-radeonfb.patch



From: Michael Marineau <[EMAIL PROTECTED]>

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.

Acked-by: Pavel Machek <[EMAIL PROTECTED]>
Cc: Benjamin Herrenschmidt <[EMAIL PROTECTED]>
Cc: "Brown, Len" <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 drivers/video/aty/radeon_pm.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -puN drivers/video/aty/radeon_pm.c~radeonfb-s3-acpi-suspend-fix-fix 
drivers/video/aty/radeon_pm.c
--- 25/drivers/video/aty/radeon_pm.c~radeonfb-s3-acpi-suspend-fix-fix   Mon Aug 
29 16:42:51 2005
+++ 25-akpm/drivers/video/aty/radeon_pm.c       Mon Aug 29 16:42:51 2005
@@ -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;
        }
_
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to