mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jason Dravet" <dravet@hotmail.com>
To: samuel.thibault@ens-lyon.org, 7eggert@gmx.de, adaplas@gmail.com,
	torvalds@osdl.org, akpm@osdl.org, davej@redhat.com,
	linux-kernel@vger.kernel.org
Subject: RE: + vgacon-fix-doublescan-mode.patch added to -mm tree
Date: Wed, 04 Jan 2006 14:19:05 -0600	[thread overview]
Message-ID: <BAY103-F10EB5B13C8450F312A495ADF2F0@phx.gbl> (raw)
In-Reply-To: <200511170235.jAH2Z9Da003186@shell0.pdx.osdl.net>

Can you please include this patch from the mm tree?  It would be nice to 
have a functioning CLI again (without having to patch and recompile every 
kernel).

Thanks,
Jason

>From: akpm@osdl.org
>To: samuel.thibault@ens-lyon.org, dravet@hotmail.com,   
>mm-commits@vger.kernel.org
>Subject: + vgacon-fix-doublescan-mode.patch added to -mm tree
>Date: Wed, 16 Nov 2005 18:34:51 -0800
>
>The patch titled
>
>      vgacon: fix doublescan mode
>
>has been added to the -mm tree.  Its filename is
>
>      vgacon-fix-doublescan-mode.patch
>
>
>From: Samuel Thibault <samuel.thibault@ens-lyon.org>
>
>When doublescan mode is in use, scanlines must be doubled.
>
>Thanks to Jason Dravet <dravet@hotmail.com> for reporting and testing.
>
>Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
>Signed-off-by: Andrew Morton <akpm@osdl.org>
>---
>
>  drivers/video/console/vgacon.c |    8 +++++++-
>  1 files changed, 7 insertions(+), 1 deletion(-)
>
>diff -puN drivers/video/console/vgacon.c~vgacon-fix-doublescan-mode 
>drivers/video/console/vgacon.c
>--- 
>devel/drivers/video/console/vgacon.c~vgacon-fix-doublescan-mode	2005-11-16 
>18:34:47.000000000 -0800
>+++ devel-akpm/drivers/video/console/vgacon.c	2005-11-16 18:34:47.000000000 
>-0800
>@@ -503,10 +503,16 @@ static int vgacon_doresize(struct vc_dat
>  {
>  	unsigned long flags;
>  	unsigned int scanlines = height * c->vc_font.height;
>-	u8 scanlines_lo, r7, vsync_end, mode;
>+	u8 scanlines_lo, r7, vsync_end, mode, max_scan;
>
>  	spin_lock_irqsave(&vga_lock, flags);
>
>+	outb_p(VGA_CRTC_MAX_SCAN, vga_video_port_reg);
>+	max_scan = inb_p(vga_video_port_val);
>+
>+	if (max_scan & 0x80)
>+		scanlines <<= 1;
>+
>  	outb_p(VGA_CRTC_MODE, vga_video_port_reg);
>  	mode = inb_p(vga_video_port_val);
>
>_
>
>Patches currently in -mm which might be from samuel.thibault@ens-lyon.org 
>are
>
>vgacon-fix-doublescan-mode.patch
>



           reply	other threads:[~2006-01-04 20:19 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <200511170235.jAH2Z9Da003186@shell0.pdx.osdl.net>]

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=BAY103-F10EB5B13C8450F312A495ADF2F0@phx.gbl \
    --to=dravet@hotmail.com \
    --cc=7eggert@gmx.de \
    --cc=adaplas@gmail.com \
    --cc=akpm@osdl.org \
    --cc=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=samuel.thibault@ens-lyon.org \
    --cc=torvalds@osdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®