[Bug 71391] GM45: Regression due to incorrect graphics base of stolen memory.

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Mon Mar 3 08:50:39 PST 2014


https://bugzilla.kernel.org/show_bug.cgi?id=71391

--- Comment #10 from Bjorn Helgaas <bhelgaas at google.com> ---
Strictly speaking, I think i915_stolen_to_physical() should use
pcibios_bus_to_resource() to convert the bus address read from config space
dword 0x5c:

  /* Read Graphics Base of Stolen Memory directly */
  pci_read_config_dword(dev->pdev, 0x5c, &base);

to the CPU physical address expected by devm_request_mem_region().  But (1)
that won't make a difference on your machine because bus and CPU physical
address should be identical on your machine, and (2) 17fec8a08698 didn't change
that anyway.

The patches Daniel mentioned in comment #7 are on the branch at 96702be56037
("Merge branch 'pci/resource' into next") and appeared in v3.14-rc1.  If PCI
was unable to allocate a cache flushing page, the dmesg log should have a clue.
 Can you attach the complete dmesg logs for the working and non-working cases? 
The ideal would be something like v3.14-rc4 and v3.14-rc4 with 17fec8 reverted.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the intel-gfx-bugs mailing list