drm/i915: correctly set IGD device's gtt size for KMS.
authorShaohua Li <shaohua.li@intel.com>
Fri, 13 Mar 2009 08:22:33 +0000 (16:22 +0800)
committerEric Anholt <eric@anholt.net>
Wed, 1 Apr 2009 19:00:00 +0000 (12:00 -0700)
commit4a8df45894d26dc503013ea630927731c24be6b8
tree577a512522dba9ccf3bd4a38e683cf2c9808479f
parent6b731a65c86119da808b3687e0bbb8f18ab137ad
drm/i915: correctly set IGD device's gtt size for KMS.

IGD device only has last 1 page used by GTT.  This should match the AGP gart
code.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_dma.c