From: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> To: linux-kernel@vger.kernel.org Cc: linux-fbdev@vger.kernel.org, Greg Kroah-Hartman <gregkh@suse.de>, Dave Airlie <airlied@redhat.com>, Arnd Bergmann <arnd@arndb.de>, Bernie Thompson <bernie@plugable.com>, Martin Decky <martin@decky.cz>, Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Subject: [PATCH 2/2] vt: dirty hack Date: Sat, 3 Sep 2011 01:29:21 +0000 [thread overview] Message-ID: <1315013361-3191-3-git-send-email-FlorianSchandinat@gmx.de> (raw) In-Reply-To: <1315013361-3191-1-git-send-email-FlorianSchandinat@gmx.de> --- drivers/tty/vt/vt.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c index b3915b7..8332004 100644 --- a/drivers/tty/vt/vt.c +++ b/drivers/tty/vt/vt.c @@ -3740,7 +3740,6 @@ void do_blank_screen(int entering_gfx) hide_cursor(vc); save_screen(vc); vc->vc_sw->con_blank(vc, -1, 1); - console_blanked = fg_console + 1; blank_state = blank_off; set_origin(vc); return; @@ -3752,7 +3751,6 @@ void do_blank_screen(int entering_gfx) /* don't blank graphics */ if (vc->vc_mode != KD_TEXT) { - console_blanked = fg_console + 1; return; } @@ -3795,7 +3793,7 @@ void do_unblank_screen(int leaving_gfx) WARN_CONSOLE_UNLOCKED(); ignore_poke = 0; - if (!console_blanked) + if (!console_blanked && !leaving_gfx) return; if (!vc_cons_allocated(fg_console)) { /* impossible */ -- 1.6.3.2
WARNING: multiple messages have this Message-ID (diff)
From: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> To: linux-kernel@vger.kernel.org Cc: linux-fbdev@vger.kernel.org, Greg Kroah-Hartman <gregkh@suse.de>, Dave Airlie <airlied@redhat.com>, Arnd Bergmann <arnd@arndb.de>, Bernie Thompson <bernie@plugable.com>, Martin Decky <martin@decky.cz>, Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Subject: [PATCH 2/2] vt: dirty hack Date: Sat, 03 Sep 2011 01:29:21 +0000 [thread overview] Message-ID: <1315013361-3191-3-git-send-email-FlorianSchandinat@gmx.de> (raw) In-Reply-To: <1315013361-3191-1-git-send-email-FlorianSchandinat@gmx.de> --- drivers/tty/vt/vt.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c index b3915b7..8332004 100644 --- a/drivers/tty/vt/vt.c +++ b/drivers/tty/vt/vt.c @@ -3740,7 +3740,6 @@ void do_blank_screen(int entering_gfx) hide_cursor(vc); save_screen(vc); vc->vc_sw->con_blank(vc, -1, 1); - console_blanked = fg_console + 1; blank_state = blank_off; set_origin(vc); return; @@ -3752,7 +3751,6 @@ void do_blank_screen(int entering_gfx) /* don't blank graphics */ if (vc->vc_mode != KD_TEXT) { - console_blanked = fg_console + 1; return; } @@ -3795,7 +3793,7 @@ void do_unblank_screen(int leaving_gfx) WARN_CONSOLE_UNLOCKED(); ignore_poke = 0; - if (!console_blanked) + if (!console_blanked && !leaving_gfx) return; if (!vc_cons_allocated(fg_console)) { /* impossible */ -- 1.6.3.2
next prev parent reply other threads:[~2011-09-03 1:11 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-09-03 1:29 [RFC v2] allow multiple concurrent visible displays Florian Tobias Schandinat 2011-09-03 1:29 ` Florian Tobias Schandinat 2011-09-03 1:29 ` [PATCH 1/2] fbdev: allow multiple concurrent visible consoles Florian Tobias Schandinat 2011-09-03 1:29 ` Florian Tobias Schandinat 2011-09-03 1:29 ` Florian Tobias Schandinat [this message] 2011-09-03 1:29 ` [PATCH 2/2] vt: dirty hack Florian Tobias Schandinat 2011-09-03 10:25 ` Alan Cox 2011-09-03 10:25 ` Alan Cox 2011-09-03 16:36 ` Florian Tobias Schandinat 2011-09-03 16:36 ` Florian Tobias Schandinat
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=1315013361-3191-3-git-send-email-FlorianSchandinat@gmx.de \ --to=florianschandinat@gmx.de \ --cc=airlied@redhat.com \ --cc=arnd@arndb.de \ --cc=bernie@plugable.com \ --cc=gregkh@suse.de \ --cc=linux-fbdev@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=martin@decky.cz \ /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: linkBe 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.