drm/i915: Fix check with IS_GEN6
authorZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 9 Mar 2010 15:37:07 +0000 (23:37 +0800)
committerEric Anholt <eric@anholt.net>
Wed, 17 Mar 2010 20:07:00 +0000 (13:07 -0700)
commit59f2d0fc4bdfbbfabfa3715ba17d0609e5964c7e
tree98d1edf3bc6da7aea6aab5f0b2a29189f13e5312
parent76e47c30bdc591815eeb5598f1e2a243a30bd585
drm/i915: Fix check with IS_GEN6

IS_GEN6 missed to include SandyBridge mobile chip, which failed in
i915_probe_agp() for memory config detection. Fix it with a device
info flag.

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