[Intrepid SRU] i915: add support for G41 chipset

Ike Panhc ike.pan at canonical.com
Thu Apr 30 04:37:35 UTC 2009


>Description
SRU Justification:

Impact:
	1. Can not enable 3D and visual effects
	2. Whenever I open cheese, system logged out automatically with the following error:
		gdm[3245]: WARNING: gdm_slave_xioerror_handler: Fatal X error - Restarting :0
	3. GDM restart fail after suspend/resume

Fix: add support for G41 chipset in DRI

>Request-pull
The following changes since commit dcf3aa5f0cca5e95b14392ff1b835a25874fbb41:
  Stefan Bader (1):
        UBUNTU: SAUCE: vgacon: Return the upper half of 512 character fonts

are available in the git repository at:

  git://kernel.ubuntu.com/ikepanhc/ike-intrepid.git lp#365958

Ike Panhc (1):
      i915: add support for G41 chipset

 drivers/gpu/drm/i915/i915_drv.h |    6 ++++--
 include/drm/drm_pciids.h        |    1 +
 2 files changed, 5 insertions(+), 2 deletions(-)

>Patch
>From 2b889bdc07012cf77918148749f9d1d679a25852 Mon Sep 17 00:00:00 2001
From: Ike Panhc <ike.pan at canonical.com>
Date: Tue, 28 Apr 2009 14:09:14 +0800
Subject: [PATCH] i915: add support for G41 chipset

OriginalAuthor: Zhenyu Wang <zhenyu.z.wang at intel.com>
OriginalLocation: http://www.mail-archive.com/dri-devel@lists.sourceforge.net/msg36219.html

Bug: #365958
BugLink: https://bugs.launchpad.net/ubuntu/jaunty/+source/linux/+bug/365958

We need to enable DRI in kernel for G41 graphic

Signed-off-by: Ike Panhc <ike.pan at canonical.com>
Tested-by: David Chen <david.chen at canonical.com>
---
 drivers/gpu/drm/i915/i915_drv.h |    6 ++++--
 include/drm/drm_pciids.h        |    1 +
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index ff0db6a..c906eef 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1119,7 +1119,8 @@ extern int i915_wait_ring(struct drm_device * dev, int n, const char *caller);
 		       (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)
 
@@ -1127,7 +1128,8 @@ extern int i915_wait_ring(struct drm_device * dev, int n, const char *caller);
 
 #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 ||	\
diff --git a/include/drm/drm_pciids.h b/include/drm/drm_pciids.h
index 135bd19..0d97c90 100644
--- 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}
-- 
1.5.6.3





More information about the kernel-team mailing list