]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.0-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Nov 2012 13:56:50 +0000 (14:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Nov 2012 13:56:50 +0000 (14:56 +0100)
added patches:
drm-radeon-fix-load-detection-on-legacy-primary-dac.patch

queue-3.0/drm-radeon-fix-load-detection-on-legacy-primary-dac.patch [new file with mode: 0644]
queue-3.0/series

diff --git a/queue-3.0/drm-radeon-fix-load-detection-on-legacy-primary-dac.patch b/queue-3.0/drm-radeon-fix-load-detection-on-legacy-primary-dac.patch
new file mode 100644 (file)
index 0000000..583d807
--- /dev/null
@@ -0,0 +1,29 @@
+From 83325d072185899b706de2956170b246585aaec9 Mon Sep 17 00:00:00 2001
+From: Egbert Eich <eich@suse.de>
+Date: Wed, 24 Oct 2012 18:29:49 +0200
+Subject: DRM/Radeon: Fix Load Detection on legacy primary DAC.
+
+From: Egbert Eich <eich@suse.de>
+
+commit 83325d072185899b706de2956170b246585aaec9 upstream.
+
+An uninitialized variable led to broken load detection.
+
+Signed-off-by: Egbert Eich <eich@suse.de>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/gpu/drm/radeon/radeon_legacy_encoders.c |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/drivers/gpu/drm/radeon/radeon_legacy_encoders.c
++++ b/drivers/gpu/drm/radeon/radeon_legacy_encoders.c
+@@ -650,6 +650,7 @@ static enum drm_connector_status radeon_
+       tmp |= RADEON_DAC_RANGE_CNTL_PS2 | RADEON_DAC_CMP_EN;
+       WREG32(RADEON_DAC_CNTL, tmp);
++      tmp = dac_macro_cntl;
+       tmp &= ~(RADEON_DAC_PDWN_R |
+                RADEON_DAC_PDWN_G |
+                RADEON_DAC_PDWN_B);
index 28a3ece3b0022d673ab12a0709190e8fdc018e32..e903cf86b6959f4e5cff58a27430b9bb17991997 100644 (file)
@@ -4,3 +4,4 @@ target-don-t-return-success-from-module_init-if-setup-fails.patch
 cfg80211-fix-antenna-gain-handling.patch
 wireless-drop-invalid-mesh-address-extension-frames.patch
 mac80211-don-t-inspect-sequence-control-field-on-control-frames.patch
+drm-radeon-fix-load-detection-on-legacy-primary-dac.patch