linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Krzysztof Helt <krzysztof.h1@poczta.fm>
Cc: Linux-fbdev-devel <linux-fbdev-devel@lists.sourceforge.net>
Subject: Re: [PATCH] fix scrolling after logo is cleared
Date: Thu, 31 Jul 2008 01:54:03 -0700	[thread overview]
Message-ID: <20080731015403.831e038c.akpm@linux-foundation.org> (raw)
In-Reply-To: <20080528225337.9e01d40e.krzysztof.h1@poczta.fm>

On Wed, 28 May 2008 22:53:37 +0200 Krzysztof Helt <krzysztof.h1@poczta.fm> wrote:

> From: Krzysztof Helt <krzysztof.h1@wp.pl>
> 
> If the 'clear' command is used on the frame buffer
> with a logo the upper area is filled by few lines but
> not scrolled anymore.
> Fix this by removing the protected area for the logo
> if any part of the logo is cleared.
> 
> Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
> ---
> 
> diff -urp linux-rc2/drivers/video/console/fbcon.c linux-new/drivers/video/console/fbcon.c
> --- linux-rc2/drivers/video/console/fbcon.c	2008-05-12 18:16:23.193553990 +0200
> +++ linux-new/drivers/video/console/fbcon.c	2008-05-26 21:10:17.592997192 +0200
> @@ -1312,6 +1310,9 @@ static void fbcon_clear(struct vc_data *
>  	if (!height || !width)
>  		return;
>  
> +	if (sy < vc->vc_top && vc->vc_top == logo_lines)
> +		vc->vc_top = 0;
> +
>  	/* Split blits that cross physical y_wrap boundary */
>  
>  	y_break = p->vrows - p->yscroll;
> 

So I'm trolling linux-fbdev-devel for lost patches and I come across
this one.

It is still good?  If so, do you think it should be in 2.6.27?  And
earlier?

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

  reply	other threads:[~2008-07-31  8:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-28 20:53 [PATCH] fix scrolling after logo is cleared Krzysztof Helt
2008-07-31  8:54 ` Andrew Morton [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-07-31  9:48 krzysztof.h1

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=20080731015403.831e038c.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=krzysztof.h1@poczta.fm \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /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;
as well as URLs for NNTP newsgroup(s).