From: Thomas Backlund <tmb@iki.fi>
To: Willy Tarreau <willy@w.ods.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2.4.21-rc1] vesafb with large memory
Date: Sat, 3 May 2003 15:46:57 +0300 [thread overview]
Message-ID: <200305031546.57631.tmb@iki.fi> (raw)
In-Reply-To: <20030502130331.GA1803@alpha.home.local>
Viestissä Perjantai 2. Toukokuuta 2003 16:03, Willy Tarreau kirjoitti:
> On Fri, May 02, 2003 at 03:14:01AM +0300, Thomas Backlund wrote:
> > And here are the results...
>
> [snip]
>
> Hi Thomas,
>
> With this patch, vesafb doesn't work anymore on my vaio notebook in
> 1400x1050 nor 1280x1024, because scree_info.lfb_size is reported to be
> 127, while it should be 175 and 160 instead ! So I modified your patch a
> little bit to get it right :
>
> - video_size = screen_info.lfb_size * screen_info.lfb_height *
> video_bpp; + video_size = screen_info.lfb_width/8 *
> screen_info.lfb_height * video_bpp;
>
> and it now works again.
> Maybe I have a broken bios, but other people might have the problem too.
>
> Cheers,
> Willy
Oh man...
I must have been sleeping when I posted that patch...
the correct line should AFAIK be:
video_size = screen_info.lfb_width * screen_info.lfb_height * video_bpp;
(AFAIK we are calculating bits here, not bytes so the '/8' you used is
wrong... could you try without it, and let me know...)
or even shorter:
video_size = video_width * video_height * video_bpp;
I'll be rebuilding and retesting my system today or tommorrow,
but I wuold like to hear if it works for you...
--
Thomas Backlund
tmb@iki.fi
www.iki.fi/tmb
next prev parent reply other threads:[~2003-05-03 12:34 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-30 21:33 [PATCH 2.4.21-rc1] vesafb with large memory O.Sezer
2003-05-01 12:00 ` Thomas Backlund
2003-05-01 12:07 ` Alan Cox
2003-05-01 15:01 ` Thomas Backlund
2003-05-01 14:49 ` Alan Cox
2003-05-01 17:39 ` Thomas Backlund
2003-05-02 0:14 ` Thomas Backlund
2003-05-02 13:03 ` Willy Tarreau
2003-05-03 12:46 ` Thomas Backlund [this message]
2003-05-03 21:58 ` Willy Tarreau
2003-05-04 9:49 ` Willy TARREAU
2003-05-06 0:21 ` Thomas Backlund
-- strict thread matches above, loose matches on Subject: below --
2003-05-06 15:58 Walt H
2003-05-01 14:20 O.Sezer
2003-05-01 15:03 ` Thomas Backlund
2003-05-01 15:09 ` O.Sezer
2003-04-30 18:58 O.Sezer
2003-04-30 8:09 Adam Mercer
2003-04-30 11:26 ` Alan Cox
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=200305031546.57631.tmb@iki.fi \
--to=tmb@iki.fi \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=willy@w.ods.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).