Tim Gardner e7b96f28c5 agp/intel: Use the correct mask to detect i830 aperture size.
BugLink: https://bugs.launchpad.net/bugs/597075

commit f1befe71fa7a79ab733011b045639d8d809924ad introduced a
regression when detecting aperture size of some i915 adapters, e.g.,
those on the Intel Q35 chipset.

The original report: https://bugzilla.kernel.org/show_bug.cgi?id=15733
The regression report: https://bugzilla.kernel.org/show_bug.cgi?id=16294

According to the specification found at
http://intellinuxgraphics.org/VOL_1_graphics_core.pdf, the PCI config
space register I830_GMCH_CTRL is a mirror of GMCH Graphics
Control. The correct macro for isolating the aperture size bits is
therefore I830_GMCH_GMS_MASK along with the attendant changes to the
case statement.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Tested-by: Kees Cook <kees.cook@canonical.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Eric Anholt <eric@anholt.net>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
2010-07-26 11:27:07 -07:00
..
2009-09-24 07:21:03 -07:00
2010-06-15 09:26:28 +10:00
2010-04-23 02:08:44 +02:00
2008-12-13 11:25:49 -08:00
2008-10-20 08:52:41 -07:00
2008-07-20 17:12:36 -07:00
2010-05-17 03:06:12 +02:00
2010-06-04 15:21:44 -07:00
2009-12-10 22:55:36 +01:00
2010-05-27 09:12:50 -07:00
2008-02-07 08:42:25 -08:00
2008-04-30 08:29:43 -07:00
2010-06-04 13:37:17 -07:00
2009-07-12 12:22:34 -07:00
2010-05-27 09:12:50 -07:00
2010-05-27 09:12:50 -07:00
2010-05-20 19:55:01 +10:00
2008-07-20 17:12:38 -07:00
2009-07-12 12:22:34 -07:00
2009-02-22 09:23:02 -08:00
2009-06-11 08:51:01 -07:00
2010-05-21 09:34:31 -07:00
2008-07-20 17:12:38 -07:00
2009-07-12 12:22:34 -07:00
2009-09-01 01:13:31 -07:00
2010-06-09 08:13:56 -07:00
2009-10-14 17:36:53 +02:00
2010-01-04 12:31:21 -08:00
2010-03-02 14:43:22 -08:00