[Bug 79038] [Regression][[i945] Crashes and bad performance on Lenovo X60 with coreboot and native graphics init

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 22 08:08:33 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=79038

--- Comment #12 from Paul Menzel <paulepanter at users.sourceforge.net> ---
(In reply to comment #11)
> (In reply to comment #8)
> > The BIOS is lying entirely about the layout of memory. Other than quirking
> > and refusing to load on coreboot, what do you propose?
> 
> Can the incorrect layout be detected and the stolen memory feature be
> disabled in that case?

Looking at your Linux patch again, my statement is incorrect, in that the
“stolen memory” feature was used before, but now the Graphics Base of Stolen
Memory is determined in a different way.

Before:

    u8 val;
    /* Stolen is immediately below Top of Low Usable DRAM */
    pci_read_config_byte(pdev, 0x9c, &val);
    base = val >> 3 << 27;
    base -= dev_priv->mm.gtt->stolen_size;

After:

    pci_read_config_dword(dev->pdev, 0x5c, &base);
    base &= ~((1<<20) - 1);

Could a switch be added which method to use, which the user can add on the
command line?

I agree that it sucks, but LibreBoot already shipped laptops with that
firmware, so we cannot force the users to upgrade the firmware. A module option
would be a good compromise, as far as I see it.

> > It is safe to say that coreboot does not yet fulfill its function as a BIOS.
> 
> First, coreboot does not try to be a BIOS. :p Please keep in mind, that it
> works fine when running/using the VGA BIOS instead of doing native graphics
> init.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140522/8c192e37/attachment-0001.html>


More information about the intel-gfx-bugs mailing list