public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* radeonfb: do not blank during swsusp snapshot
@ 2004-08-28 21:35 Pavel Machek
  2004-08-28 22:10 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 3+ messages in thread
From: Pavel Machek @ 2004-08-28 21:35 UTC (permalink / raw)
  To: benh, kernel list, Andrew Morton

Hi!

With display blanked, it is hard to debug anything. And display
blanking is not really needed there... Does it look okay?

								Pavel

--- clean-mm.middle/drivers/video/aty/radeon_pm.c	2004-08-15 19:15:01.000000000 +0200
+++ linux-mm/drivers/video/aty/radeon_pm.c	2004-08-28 23:26:46.000000000 +0200
@@ -880,12 +880,14 @@
 		radeon_engine_idle();
 	}
 
-	/* Blank display and LCD */
-	radeonfb_blank(VESA_POWERDOWN, info);
-
-	/* Sleep */
-	rinfo->asleep = 1;
-	rinfo->lock_blank = 1;
+	if (system_state != SYSTEM_SNAPSHOT) {
+		/* Blank display and LCD */
+		radeonfb_blank(VESA_POWERDOWN, info);
+
+		/* Sleep */
+		rinfo->asleep = 1;
+		rinfo->lock_blank = 1;
+	}
 
 	/* Suspend the chip to D2 state when supported
 	 */

-- 
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-08-29 17:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-28 21:35 radeonfb: do not blank during swsusp snapshot Pavel Machek
2004-08-28 22:10 ` Benjamin Herrenschmidt
2004-08-29 17:13   ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox