drm/i915: Correct the Sandybridge chipset info structs.
authorEric Anholt <eric@anholt.net>
Fri, 29 Jan 2010 00:13:29 +0000 (16:13 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 26 Feb 2010 21:23:20 +0000 (13:23 -0800)
Disables CXSR until it's done, and sets the mobile bit on mobile.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_drv.c

index 94e74a426ef9001dadc7098fe4ed9581b2baec68..2a9178bb2748728cd9e6b496015e9de718024155 100644 (file)
@@ -138,13 +138,11 @@ const static struct intel_device_info intel_ironlake_m_info = {
 
 const static struct intel_device_info intel_sandybridge_d_info = {
        .is_i965g = 1, .is_i9xx = 1, .need_gfx_hws = 1,
-       .has_pipe_cxsr = 1,
        .has_hotplug = 1,
 };
 
 const static struct intel_device_info intel_sandybridge_m_info = {
-       .is_i965g = 1, .is_i9xx = 1, .need_gfx_hws = 1,
-       .has_pipe_cxsr = 1,
+       .is_i965g = 1, .is_mobile = 1, .is_i9xx = 1, .need_gfx_hws = 1,
        .has_hotplug = 1,
 };