drm/i915, agp/intel: Fix stolen memory size on Sandybridge
authorZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 10 Nov 2009 17:25:25 +0000 (01:25 +0800)
committerEric Anholt <eric@anholt.net>
Fri, 26 Feb 2010 21:23:19 +0000 (13:23 -0800)
commit14bc490bbdf1b194ad1f5f3d2a0a27edfdf78986
treeec3aa6b118d7f9750bdb12e45af122748978a6d6
parent21099537dbacc5c8999d833e6bfd1b72edd89189
drm/i915, agp/intel: Fix stolen memory size on Sandybridge

New memory control config reg at 0x50 should be used for stolen
memory size detection on Sandybridge.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/char/agp/intel-agp.c
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_reg.h