linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Antonino A. Daplas" <adaplas@gmail.com>
To: Jesper Juhl <jesper.juhl@gmail.com>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: [PATCH] Fix vesafb display panning regression
Date: Mon, 12 Dec 2005 05:13:00 +0800	[thread overview]
Message-ID: <439C965C.5030100@gmail.com> (raw)
In-Reply-To: <9a8748490512110808q2d485407o52da0d4777fbf38e@mail.gmail.com>

Fix vesafb hang when scroll mode is REDRAW.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
---

Jesper Juhl wrote:
> On 12/11/05, Andrew Morton <akpm@osdl.org> wrote:
>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.15-rc5/2.6.15-rc5-mm2/
>>
> When booting this kernel with  vga=791 like I normally do, the kernel
> hangs on boot. Booting with vga=normal works just fine.
> I don't have very much info since as soon as the videomode is switched
> I get a small rectangle of messed up colours in the top left corner of
> the screen (the rest is just black) and then it hangs - even the
> keyboard is dead, I have to powercycle the machine.
> Nothing makes it to the logs and I don't have a second machine atm to
> get logs via serial console or netconsole.
> I've got the vesafb driver build in, none of the other fb drivers.
> 

Sorry about that.  This particular hunk was missing in the 
vesafb_trim_pan_display.patch

Tony

 drivers/video/vesafb.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/video/vesafb.c b/drivers/video/vesafb.c
index e6e56b8..8982e54 100644
--- a/drivers/video/vesafb.c
+++ b/drivers/video/vesafb.c
@@ -417,6 +417,9 @@ static int __init vesafb_probe(struct pl
 	info->flags = FBINFO_FLAG_DEFAULT |
 		(ypan) ? FBINFO_HWACCEL_YPAN : 0;
 
+	if (!ypan)
+		info->fbops->fb_pan_display = NULL;
+
 	if (fb_alloc_cmap(&info->cmap, 256, 0) < 0) {
 		err = -ENOMEM;
 		goto err;

  reply	other threads:[~2005-12-11 21:13 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-11 12:13 2.6.15-rc5-mm2 Andrew Morton
2005-12-11 12:39 ` 2.6.15-rc5-mm2 Benoit Boissinot
2005-12-11 15:17 ` 2.6.15-rc5-mm2 Benoit Boissinot
2005-12-11 15:47 ` 2.6.15-rc5-mm2 Rafael J. Wysocki
2005-12-11 15:52   ` 2.6.15-rc5-mm2: broken resume from disk on x86-64 Rafael J. Wysocki
2005-12-11 16:02   ` 2.6.15-rc5-mm2: evdev problem Rafael J. Wysocki
2005-12-11 18:22     ` Dmitry Torokhov
2005-12-11 16:06   ` 2.6.15-rc5-mm2: ehci_hcd crashes on load sometimes Rafael J. Wysocki
2005-12-11 20:38     ` Andrew Morton
2005-12-12 19:53       ` Rafael J. Wysocki
2005-12-12 20:29         ` Andrew Morton
2005-12-12 20:55           ` Rafael J. Wysocki
2005-12-12 21:09             ` Andrew Morton
2005-12-12 21:39               ` Rafael J. Wysocki
2005-12-12 21:47                 ` Andrew Morton
2005-12-12 21:56                 ` Ben Pfaff
2005-12-13  6:52           ` [linux-usb-devel] " David Brownell
2005-12-13 22:10             ` Rafael J. Wysocki
2005-12-13 22:22               ` David Brownell
2005-12-13 22:39                 ` Rafael J. Wysocki
2005-12-13 23:31                   ` David Brownell
2005-12-11 16:08 ` 2.6.15-rc5-mm2 Jesper Juhl
2005-12-11 21:13   ` Antonino A. Daplas [this message]
2005-12-11 21:30     ` [PATCH] Fix vesafb display panning regression Jesper Juhl
2005-12-11 16:12 ` 2.6.15-rc5-mm2 :-) Maciej Soltysiak
2005-12-13  5:52   ` Con Kolivas
     [not found]     ` <1916802326.20051213121330@dns.toxicfilms.tv>
2005-12-13 12:16       ` Con Kolivas
2005-12-13 23:30         ` Peter Williams
2005-12-11 17:56 ` 2.6.15-rc5-mm2: two cs5535 modules Adrian Bunk
2005-12-12 18:29   ` Ben Gardner
2005-12-12 22:49     ` Alan Cox
2005-12-12  0:53 ` 2.6.15-rc5-mm2 Grant Coady
2005-12-12 14:05 ` 2.6.15-rc5-mm2 Cornelia Huck
2005-12-14  8:54 ` SMP+nosmp=hang [was: Re: 2.6.15-rc5-mm2] J.A. Magallon
     [not found]   ` <20060120192259.4460af42.akpm@osdl.org>
2006-01-21 23:46     ` J.A. Magallon
2006-01-22  0:22       ` Randy.Dunlap
2005-12-15 13:41 ` 2.6.15-rc5-mm2 Reuben Farrelly

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=439C965C.5030100@gmail.com \
    --to=adaplas@gmail.com \
    --cc=akpm@osdl.org \
    --cc=jesper.juhl@gmail.com \
    --cc=linux-kernel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).