All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vesa Jääskeläinen" <chaac@nic.fi>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: vesafb terminal for testing.
Date: Tue, 20 Sep 2005 02:11:21 +0300	[thread overview]
Message-ID: <432F4599.3020108@nic.fi> (raw)
In-Reply-To: <200509192100.37584.okuji@enbug.org>

Yoshinori K. Okuji wrote:
> On Sunday 18 September 2005 11:03 pm, Vesa Jääskeläinen wrote:
>> Sorry it took a bit longer to check those out, but after returning from
>> my vacation it took some time to get back to normal day life.
> 
> Presumably you didn't sleep enough in your airplain...

For the first flight I tried... and for the returning flight I didn't
even try :|... A bit too small space for me :( Total travel time for a
day was something like 23 hours. But that was compensated in a couple of
days, it was the other stuff that has been keeping me away.

>> Also there was small semantic change in grub_vbe_probe, now if user
>> provides info_block parameter, it will always call VESA BIOS to get
>> information even though this would be cached in second run. I have no
>> problem with this, but out of curiosity, was there some reason for this
>> change?
> 
> As I wrote in ChangeLog, you cannot reuse the information block over multiple 
> BIOS calls, because that region resides at a BIOS data area, and it is 
> overwritten in next call. In fact, vbeinfo didn't show correct modes, until I 
> fixed it.

Perhaps you mixed this with vbeinfo code itself? Because in
grub_vbe_probe (in video/i386/pc/vbe.c) there has been grub_memcpy to
copy this information from scratch to local static variable
(controller_info) and then if caller provided non NULL pointer, it would
also be copied to caller's variable. And as this information is now
copied in static variable controller_info it can be used and cached for
later usage.

For me vbeinfo has always showed correct information, but if something
uses scratch area while walking that mode list it could give some nice
side effects. So making copy of those modes doesn't hurt. Perhaps this
should be hidden and be generalized a bit.

Let me think this a day or two (hopely not weeks) and I try to make a
some kind of draft how to implement this gfx stuff more nicely. I'll try
to take account ideas that have been posted to this list while making
that draft.

> But, according to Subdino, vbetest does not run twice correctly. So there must 
> be still something I looked over.

That is a bit odd I might say. Do you have any more details about this
problem? What exactly is wrong? Is there any way to reproduce this?

I will look at the code later on and see if I could spot something that
could be related to this.

Thanks,
Vesa Jääskeläinen



  reply	other threads:[~2005-09-19 23:34 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-14 11:52 vesafb terminal for testing Vesa Jääskeläinen
2005-08-14 14:48 ` Yoshinori K. Okuji
2005-08-14 15:45   ` Vesa Jääskeläinen
2005-08-14 16:47     ` Vladimir Serbinenko
2005-08-14 19:25       ` Yoshinori K. Okuji
2005-08-15 15:23         ` Vincent Pelletier
2005-08-15 16:06           ` Vladimir Serbinenko
2005-08-15 17:02             ` Marco Gerards
2005-08-15 17:19             ` Yoshinori K. Okuji
2005-08-15 17:41               ` Marco Gerards
2005-08-15 18:55                 ` Yoshinori K. Okuji
2005-08-15 20:54                   ` Marco Gerards
2005-08-15 21:44               ` Vesa Jääskeläinen
2005-08-16  6:47               ` Vincent Pelletier
2005-08-16 10:20                 ` Marco Gerards
2005-08-15 17:07         ` Marco Gerards
2005-08-16  6:54           ` Vincent Pelletier
2005-08-14 21:48       ` Vesa Jääskeläinen
2005-08-14 22:19         ` Yoshinori K. Okuji
2005-08-15 15:52           ` Vesa Jääskeläinen
2005-08-15 16:13             ` Yoshinori K. Okuji
2005-08-15 15:42         ` Vladimir Serbinenko
2005-08-19  0:48   ` Yoshinori K. Okuji
2005-09-18 21:03     ` Vesa Jääskeläinen
2005-09-19 19:00       ` Yoshinori K. Okuji
2005-09-19 23:11         ` Vesa Jääskeläinen [this message]
2005-09-20 17:13           ` Yoshinori K. Okuji
2005-08-15 17:24 ` Marco Gerards
2005-08-15 21:05   ` Vesa Jääskeläinen
2005-08-15 21:21     ` Marco Gerards
2005-08-15 21:39       ` Vesa Jääskeläinen
2005-08-16 10:04         ` Marco Gerards
2005-08-16 18:36           ` Vesa Jääskeläinen

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=432F4599.3020108@nic.fi \
    --to=chaac@nic.fi \
    --cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.