intel_agp: fix GTT map size on G33
authorZhenyu Wang <zhenyu.z.wang@intel.com>
Tue, 11 Sep 2007 22:23:58 +0000 (15:23 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 12 Sep 2007 00:21:20 +0000 (17:21 -0700)
commit4740622c5c805d88c63a50747a2d05537dd233cf
tree2de8aa3ba9cc32150e989bd099573f9005cdc13a
parentf443675affe3f16dd428e46f0f7fd3f4d703eeab
intel_agp: fix GTT map size on G33

G33 has 1MB GTT table range.  Fix GTT mapping in case like 512MB aperture
size.

Signed-off-by: Zhenyu Wang <zhenyu.z.wang@intel.com>
Acked-by: Dave Airlie <airlied@linux.ie>
Cc: Dave Jones <davej@codemonkey.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/agp/intel-agp.c