]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
.27 patch
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 4 May 2009 21:04:29 +0000 (14:04 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 4 May 2009 21:04:29 +0000 (14:04 -0700)
queue-2.6.27/drm-i915-add-support-for-g41-chipset.patch [new file with mode: 0644]
queue-2.6.27/series [new file with mode: 0644]

diff --git a/queue-2.6.27/drm-i915-add-support-for-g41-chipset.patch b/queue-2.6.27/drm-i915-add-support-for-g41-chipset.patch
new file mode 100644 (file)
index 0000000..bf5044f
--- /dev/null
@@ -0,0 +1,53 @@
+From 72021788678523047161e97b3dfed695e802a5fd Mon Sep 17 00:00:00 2001
+From: Zhenyu Wang <zhenyu.z.wang@intel.com>
+Date: Mon, 17 Nov 2008 13:58:11 +0800
+Subject: drm/i915: add support for G41 chipset
+
+From: Zhenyu Wang <zhenyu.z.wang@intel.com>
+
+commit 72021788678523047161e97b3dfed695e802a5fd upstream.
+
+This had been delayed for some time due to failure to work on the one piece
+of G41 hardware we had, and lack of success reports from anybody else.
+Current hardware appears to be OK.
+
+Signed-off-by: Zhenyu Wang <zhenyu.z.wang@intel.com>
+[anholt: hand-applied due to conflicts with IGD patches]
+Signed-off-by: Eric Anholt <eric@anholt.net>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
+
+---
+ drivers/gpu/drm/i915/i915_drv.h |    6 ++++--
+ include/drm/drm_pciids.h        |    1 +
+ 2 files changed, 5 insertions(+), 2 deletions(-)
+
+--- a/drivers/gpu/drm/i915/i915_drv.h
++++ b/drivers/gpu/drm/i915/i915_drv.h
+@@ -1115,7 +1115,8 @@ extern int i915_wait_ring(struct drm_dev
+                      (dev)->pci_device == 0x2A42 || \
+                      (dev)->pci_device == 0x2E02 || \
+                      (dev)->pci_device == 0x2E12 || \
+-                     (dev)->pci_device == 0x2E22)
++                     (dev)->pci_device == 0x2E22 || \
++                     (dev)->pci_device == 0x2E32)
+ #define IS_I965GM(dev) ((dev)->pci_device == 0x2A02)
+@@ -1123,7 +1124,8 @@ extern int i915_wait_ring(struct drm_dev
+ #define IS_G4X(dev) ((dev)->pci_device == 0x2E02 || \
+                    (dev)->pci_device == 0x2E12 || \
+-                   (dev)->pci_device == 0x2E22)
++                   (dev)->pci_device == 0x2E22 || \
++                   (dev)->pci_device == 0x2E32)
+ #define IS_G33(dev)    ((dev)->pci_device == 0x29C2 ||        \
+                       (dev)->pci_device == 0x29B2 ||  \
+--- a/include/drm/drm_pciids.h
++++ b/include/drm/drm_pciids.h
+@@ -412,4 +412,5 @@
+       {0x8086, 0x2e02, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
+       {0x8086, 0x2e12, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
+       {0x8086, 0x2e22, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
++      {0x8086, 0x2e32, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
+       {0, 0, 0}
diff --git a/queue-2.6.27/series b/queue-2.6.27/series
new file mode 100644 (file)
index 0000000..a4aa12a
--- /dev/null
@@ -0,0 +1 @@
+drm-i915-add-support-for-g41-chipset.patch