[linux] 01/01: Revert "drm/radeon/pm: adjust display configuration after powerstate"
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Wed Mar 16 04:12:36 UTC 2016
This is an automated email from the git hooks/post-receive script.
benh pushed a commit to branch sid
in repository linux.
commit 35ecf69e71f84641f994471f9f23cdc33641a87a
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Wed Mar 16 03:52:18 2016 +0000
Revert "drm/radeon/pm: adjust display configuration after powerstate"
Reported to cause a regression on some older hardware.
---
debian/changelog | 2 ++
...radeon-pm-adjust-display-configuration-af.patch | 39 ++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 42 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 8626fbb..68dff03 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -78,6 +78,8 @@ linux (4.4.5-1) UNRELEASED; urgency=medium
- efi: Fix boot crash by always mapping boot service regions into new EFI
page tables (Closes: #815125)
- mm/pat: Fix boot crash when 1GB pages are not supported by cpu
+ * Revert "drm/radeon/pm: adjust display configuration after powerstate",
+ which caused a regression on some older hardware
[ Ian Campbell ]
* [arm64] Enable ARCH_HISI (Hisilicon) and the set of currently available
diff --git a/debian/patches/bugfix/all/revert-drm-radeon-pm-adjust-display-configuration-af.patch b/debian/patches/bugfix/all/revert-drm-radeon-pm-adjust-display-configuration-af.patch
new file mode 100644
index 0000000..17e8020
--- /dev/null
+++ b/debian/patches/bugfix/all/revert-drm-radeon-pm-adjust-display-configuration-af.patch
@@ -0,0 +1,39 @@
+From: Alex Deucher <alexander.deucher at amd.com>
+Date: Tue, 8 Mar 2016 11:31:00 -0500
+Subject: Revert "drm/radeon/pm: adjust display configuration after powerstate"
+Origin: https://git.kernel.org/linus/d74e766e1916d0e09b86e4b5b9d0f819628fd546
+
+This reverts commit 39d4275058baf53e89203407bf3841ff2c74fa32.
+
+This caused a regression on some older hardware.
+
+bug:
+https://bugzilla.kernel.org/show_bug.cgi?id=113891
+
+Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
+Cc: stable at vger.kernel.org
+---
+ drivers/gpu/drm/radeon/radeon_pm.c | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+--- a/drivers/gpu/drm/radeon/radeon_pm.c
++++ b/drivers/gpu/drm/radeon/radeon_pm.c
+@@ -1075,6 +1075,8 @@ force:
+
+ /* update display watermarks based on new power state */
+ radeon_bandwidth_update(rdev);
++ /* update displays */
++ radeon_dpm_display_configuration_changed(rdev);
+
+ /* wait for the rings to drain */
+ for (i = 0; i < RADEON_NUM_RINGS; i++) {
+@@ -1091,9 +1093,6 @@ force:
+
+ radeon_dpm_post_set_power_state(rdev);
+
+- /* update displays */
+- radeon_dpm_display_configuration_changed(rdev);
+-
+ rdev->pm.dpm.current_active_crtcs = rdev->pm.dpm.new_active_crtcs;
+ rdev->pm.dpm.current_active_crtc_count = rdev->pm.dpm.new_active_crtc_count;
+ rdev->pm.dpm.single_display = single_display;
diff --git a/debian/patches/series b/debian/patches/series
index e4b136c..6df23b0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -139,3 +139,4 @@ debian/revert-libata-align-ata_device-s-id-on-a-cacheline.patch
debian/module-fix-abi-change-in-4.4.5.patch
bugfix/x86/x86-efi-fix-boot-crash-by-always-mapping-boot-servic.patch
bugfix/x86/x86-mm-pat-fix-boot-crash-when-1gb-pages-are-not-supported.patch
+bugfix/all/revert-drm-radeon-pm-adjust-display-configuration-af.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git
More information about the Kernel-svn-changes
mailing list