From: Pavel Machek <pavel@ucw.cz>
To: benh@kernel.crashing.org,
kernel list <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@zip.com.au>
Subject: radeonfb: do not blank during swsusp snapshot
Date: Sat, 28 Aug 2004 23:35:35 +0200 [thread overview]
Message-ID: <20040828213535.GA1418@elf.ucw.cz> (raw)
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!
next reply other threads:[~2004-08-28 21:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-28 21:35 Pavel Machek [this message]
2004-08-28 22:10 ` radeonfb: do not blank during swsusp snapshot Benjamin Herrenschmidt
2004-08-29 17:13 ` Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040828213535.GA1418@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=akpm@zip.com.au \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.