浏览代码

drm/i915: Add a new mobile Sandybridge PCI ID.

Signed-off-by: Eric Anholt <eric@anholt.net>
Eric Anholt 15 年之前
父节点
当前提交
a13e4093cb
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      drivers/gpu/drm/i915/i915_drv.c

+ 7 - 0
drivers/gpu/drm/i915/i915_drv.c

@@ -142,6 +142,12 @@ const static struct intel_device_info intel_sandybridge_d_info = {
 	.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,
+	.has_hotplug = 1,
+};
+
 const static struct pci_device_id pciidlist[] = {
 	INTEL_VGA_DEVICE(0x3577, &intel_i830_info),
 	INTEL_VGA_DEVICE(0x2562, &intel_845g_info),
@@ -174,6 +180,7 @@ const static struct pci_device_id pciidlist[] = {
 	INTEL_VGA_DEVICE(0x0042, &intel_ironlake_d_info),
 	INTEL_VGA_DEVICE(0x0046, &intel_ironlake_m_info),
 	INTEL_VGA_DEVICE(0x0102, &intel_sandybridge_d_info),
+	INTEL_VGA_DEVICE(0x0106, &intel_sandybridge_m_info),
 	{0, 0, 0}
 };