[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can we get video card information in EFI environment ?
From: |
Bean |
Subject: |
Re: Can we get video card information in EFI environment ? |
Date: |
Mon, 9 Jun 2008 02:00:54 +0800 |
On Mon, Jun 9, 2008 at 1:51 AM, Vesa Jääskeläinen <address@hidden> wrote:
> Bean wrote:
>>
>> I think the vbe driver need to call bios, is there a way to do it directly
>> ?
>
> Yes, it uses BIOS to determine frame buffer address and setup video mode.
>
>> EFI have uga draw protocol that can do bitblt, but they don't have a
>> method to query low level information like frame buffer address and
>> line length easily.
>
> In EFI you should use this protocol to do drawing to screen. And you do not
> basicly need that low level information (in GRUB 2).
Yes, I don't need such information to draw in grub2. But I need to
pass them to the linux kernel, otherwise its frame buffer don't work
and you can only seen a scramble screen. Technically, this isn't
grub's fault, but I want to make it work better.
--
Bean