This is a note to let you know that I've just added the patch titled

    drm/radeon: fix regression on atom cards with hardcoded EDID record.

to the 2.6.38-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-radeon-fix-regression-on-atom-cards-with-hardcoded-edid-record.patch
and it can be found in the queue-2.6.38 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From eaa4f5e1d0b816291a59a47917e569c0384f2b6f Mon Sep 17 00:00:00 2001
From: Dave Airlie <[email protected]>
Date: Sun, 1 May 2011 20:16:30 +1000
Subject: drm/radeon: fix regression on atom cards with hardcoded EDID record.

From: Dave Airlie <[email protected]>

commit eaa4f5e1d0b816291a59a47917e569c0384f2b6f upstream.

Since fafcf94e2b5732d1e13b440291c53115d2b172e9 introduced an edid size, it 
seems to have broken this path.

This manifest as oops on T500 Lenovo laptops with dual graphics primarily.

Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=33812

Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/gpu/drm/radeon/radeon_atombios.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

--- a/drivers/gpu/drm/radeon/radeon_atombios.c
+++ b/drivers/gpu/drm/radeon/radeon_atombios.c
@@ -1599,9 +1599,10 @@ struct radeon_encoder_atom_dig *radeon_a
                                                        memcpy((u8 *)edid, (u8 
*)&fake_edid_record->ucFakeEDIDString[0],
                                                               
fake_edid_record->ucFakeEDIDLength);
 
-                                                       if 
(drm_edid_is_valid(edid))
+                                                       if 
(drm_edid_is_valid(edid)) {
                                                                
rdev->mode_info.bios_hardcoded_edid = edid;
-                                                       else
+                                                               
rdev->mode_info.bios_hardcoded_edid_size = edid_size;
+                                                       } else
                                                                kfree(edid);
                                                }
                                        }


Patches currently in stable-queue which might be from [email protected] are

queue-2.6.38/drm-radeon-fix-regression-on-atom-cards-with-hardcoded-edid-record.patch

_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to