ソースを参照

drm/i915: Correct the Sandybridge chipset info structs.

Disables CXSR until it's done, and sets the mobile bit on mobile.

Signed-off-by: Eric Anholt <eric@anholt.net>
Eric Anholt 15 年 前
コミット
faa7bde6cb
1 ファイル変更1 行追加3 行削除
  1. 1 3
      drivers/gpu/drm/i915/i915_drv.c

+ 1 - 3
drivers/gpu/drm/i915/i915_drv.c

@@ -138,13 +138,11 @@ const static struct intel_device_info intel_ironlake_m_info = {
 
 
 const static struct intel_device_info intel_sandybridge_d_info = {
 const static struct intel_device_info intel_sandybridge_d_info = {
 	.is_i965g = 1, .is_i9xx = 1, .need_gfx_hws = 1,
 	.is_i965g = 1, .is_i9xx = 1, .need_gfx_hws = 1,
-	.has_pipe_cxsr = 1,
 	.has_hotplug = 1,
 	.has_hotplug = 1,
 };
 };
 
 
 const static struct intel_device_info intel_sandybridge_m_info = {
 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,
 	.has_hotplug = 1,
 };
 };