Linux Framebuffer Layer development
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Samuel Thibault <samuel.thibault@ens-lyon.org>,
	Krzysztof  Oledzki <olel@ans.pl>
Cc: linux-fbdev-devel@lists.sourceforge.net, wa1ter@myrealbox.com,
	"bugme-daemon@kernel-bugs.osdl.org"
	<bugme-daemon@kernel-bugs.osdl.org>
Subject: Re: Fw: [Bugme-new] [Bug 5441] New: SVGATextMode problem on 2.6.14-rc4
Date: Fri, 14 Oct 2005 16:22:46 -0700	[thread overview]
Message-ID: <20051014162246.6ba852a3.akpm@osdl.org> (raw)
In-Reply-To: <20051014231408.GK5100@bouh.residence.ens-lyon.fr>

Samuel Thibault <samuel.thibault@ens-lyon.org> wrote:
>
> Hum, I didn't know about messy programs like svgatextmode... Couldn't
> this be integrated in some linux/drivers/video/console/svgacon.c ?... So
> because of the existence of the svgatextmode program, the kernel is not
> supposed to touch to CRT_OVERFLOW/SYNC_END/DISP/DISP_END/OFFSET ?
> 
> Disabling the check in vgacon_resize() might help indeed, but I'm really
> not sure whether it will work for any chipset: in my patch, CRT
> registers are set at each console switch, since stty rows/cols apply to
> consoles separately...
> 
> The attached solution is to keep the test, but if it fails, we assume
> that the caller knows what it does (i.e. it is svgatextmode) and then
> disable any further call to vgacon_doresize. Svgatextmode is usually
> used to _expand_ the display, not to shrink it. And it is harmless in
> the case of a too big stty rows/cols: the display will just be cropped.
> I tested it on my laptop, and it works fine with svgatextmode.
> 
> A better solution would be that svgatextmode explicitely tells the
> kernel not to care about video timing, but for this an interface needs
> be defined and svgatextmode be patched.

hm, you removed bugzilla from the Cc.  Please don't do that.  I've restored
it, and I've cc'ed the reporter (Krzysztof) directly.

Krzysztof, could you please test Samuel's fix (which I forwarded) and let
us know?

Thanks.


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl

  reply	other threads:[~2005-10-14 23:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-14 17:31 Fw: [Bugme-new] [Bug 5441] New: SVGATextMode problem on 2.6.14-rc4 Andrew Morton
2005-10-14 23:14 ` Samuel Thibault
2005-10-14 23:22   ` Andrew Morton [this message]
2005-10-17  8:28     ` Krzysztof Oledzki

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=20051014162246.6ba852a3.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=bugme-daemon@kernel-bugs.osdl.org \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=olel@ans.pl \
    --cc=samuel.thibault@ens-lyon.org \
    --cc=wa1ter@myrealbox.com \
    /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