Yinghai Lu 545b0a746b agp/intel: Support 64-bit GMADR
Per the Intel 915G/915GV/... Chipset spec (document number 301467-005),
GMADR is a standard PCI BAR.

The PCI core reads GMADR at enumeration-time.  Use pci_bus_address()
instead of reading it again in the driver.  This works correctly for both
32-bit and 64-bit BARs.  The spec above only mentions 32-bit GMADR, but
Yinghai's patch (link below) indicates some devices have a 64-bit GMADR.

[bhelgaas: reworked starting from http://lkml.kernel.org/r/1385851238-21085-13-git-send-email-yinghai@kernel.org]
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-01-07 11:36:55 -07:00
..
2014-01-06 17:49:22 -07:00
2014-01-06 17:49:22 -07:00
2014-01-06 17:49:22 -07:00
2012-01-26 18:36:48 +00:00
2014-01-06 17:49:22 -07:00
2014-01-06 17:49:22 -07:00
2014-01-06 17:49:22 -07:00
2014-01-07 11:36:55 -07:00
2014-01-07 11:36:55 -07:00
2008-08-12 10:13:38 +10:00
2014-01-06 17:49:22 -07:00
2014-01-06 17:49:22 -07:00