From: Carl-Daniel Hailfinger <c-d.hailfinger.kernel.2002-Q4@gmx.net>
To: Marcelo Tosatti <marcelo@conectiva.com.br>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Subject: [PATCH] restore framebuffer console after suspend
Date: Mon, 11 Nov 2002 12:58:53 +0100 [thread overview]
Message-ID: <3DCF9B7D.3030406@gmx.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 430 bytes --]
Marcelo,
this patch fixes the case when a laptop was suspended and resumed while a
framebuffer console was active, the console would not be redrawn.
After a discussion with Benjamin Herrenschmidt, we both agree that this
patch is the best solution. It is the same as my first patch with this
subject, just resent because there was some confusion about which patch was
best.
Please apply for 2.4.20-rc2.
Thanks
Carl-Daniel
[-- Attachment #2: patch-fbdev.txt --]
[-- Type: text/plain, Size: 461 bytes --]
diff -Naur linux.orig/drivers/video/fbcon.c linux/drivers/video/fbcon.c
--- linux.orig/drivers/video/fbcon.c Thu Sep 12 17:22:35 2002
+++ linux/drivers/video/fbcon.c Fri Nov 8 13:09:41 2002
@@ -1571,10 +1571,6 @@ static int fbcon_blank(struct vc_data *c
if (blank < 0) /* Entering graphics mode */
return 0;
-#ifdef CONFIG_PM
- if (fbcon_sleeping)
- return 0;
-#endif /* CONFIG_PM */
fbcon_cursor(p->conp, blank ? CM_ERASE : CM_DRAW);
next reply other threads:[~2002-11-11 11:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-11 11:58 Carl-Daniel Hailfinger [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-11-09 0:58 [PATCH] restore framebuffer console after suspend Carl-Daniel Hailfinger
2002-11-09 2:16 ` Carl-Daniel Hailfinger
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=3DCF9B7D.3030406@gmx.net \
--to=c-d.hailfinger.kernel.2002-q4@gmx.net \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox