Control: severity -1 important
Control: tag -1 patch moreinfo

On Mon, 2013-04-08 at 00:37 +0400, Stepan Golosunov wrote:
> Package: linux-image-3.2.0-4-amd64
> Version: 3.2.41-2
> Severity: grave
> Justification: renders package unusable
> 
> After upgrading linux-image-3.2.0-4-amd64:amd64 to 3.2.41-2 system
> hangs when initializing primary video card.
> 
> Normally during boot bios and later linux console messages are
> printed on primary monitor (connected to 05:00.0 card), then the
> second video card (04:00.0) is initialized, some console messages
> are printed on the second monitor and the first monitor is blanked.
> Then console messages are again printed on the primary monitor.
> 
> After upgrading to 3.2.41-2 system hangs (no disk activity, no visible
> reaction to keyboard, though NumLock and Alt-SysRq-B work) with first
> monitor blanked. Photo of the second monitor attached; note the
> absence of the
> [    9.145482] fbcon: radeondrmfb (fb1) is primary device
> [    9.148103] fbcon: Remapping primary device, fb1, to tty 1-63
> lines, which are present on the monitor when booting with 3.2.39-2.
[...]

There seems to be only one change that could have caused this, but
please can you check?  The attached patch reverts the change to radeon
between these versions, and you can test it by following the
instructions at
<http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official>.

Ben.

-- 
Ben Hutchings
I'm not a reverse psychological virus.  Please don't copy me into your sig.
From: Ben Hutchings <b...@decadent.org.uk>
Subject: [PATCH] Revert "drm/radeon/dce6: fix display powergating"
Bug-Debian: http://bugs.debian.org/704933

This reverts commit 746042cf26dbcf5a8feb4f8938a3531a6169c96e,
which was commit 0e3d50bfcbd338254795a700dcff429a96cba1a6 upstream.
---
--- a/drivers/gpu/drm/radeon/atombios_crtc.c
+++ b/drivers/gpu/drm/radeon/atombios_crtc.c
@@ -258,6 +258,8 @@ void atombios_crtc_dpms(struct drm_crtc *crtc, int mode)
 		radeon_crtc->enabled = true;
 		/* adjust pm to dpms changes BEFORE enabling crtcs */
 		radeon_pm_compute_clocks(rdev);
+		if (ASIC_IS_DCE6(rdev) && !radeon_crtc->in_mode_set)
+			atombios_powergate_crtc(crtc, ATOM_DISABLE);
 		atombios_enable_crtc(crtc, ATOM_ENABLE);
 		if (ASIC_IS_DCE3(rdev) && !ASIC_IS_DCE6(rdev))
 			atombios_enable_crtc_memreq(crtc, ATOM_ENABLE);
@@ -277,6 +275,8 @@ void atombios_crtc_dpms(struct drm_crtc *crtc, int mode)
 			atombios_enable_crtc_memreq(crtc, ATOM_DISABLE);
 		atombios_enable_crtc(crtc, ATOM_DISABLE);
 		radeon_crtc->enabled = false;
+		if (ASIC_IS_DCE6(rdev) && !radeon_crtc->in_mode_set)
+			atombios_powergate_crtc(crtc, ATOM_ENABLE);
 		/* adjust pm to dpms changes AFTER disabling crtcs */
 		radeon_pm_compute_clocks(rdev);
 		break;
@@ -1670,8 +1666,6 @@ static void atombios_crtc_disable(struct drm_crtc *crtc)
 	int i;
 
 	atombios_crtc_dpms(crtc, DRM_MODE_DPMS_OFF);
-	if (ASIC_IS_DCE6(rdev))
-		atombios_powergate_crtc(crtc, ATOM_ENABLE);
 
 	for (i = 0; i < rdev->num_crtc; i++) {
 		if (rdev->mode_info.crtcs[i] &&

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to