diff mbox

drm/i915: Add G33 series in VGA hotplug support category

Message ID 1250755400.6461.45.camel@ubuntu-pli1.bj.intel.com (mailing list archive)
State Accepted
Headers show

Commit Message

Li Peng Aug. 20, 2009, 8:03 a.m. UTC
>From 70ae749d15e012ab4a33aa2abe7a4d97a4dcebdb Mon Sep 17 00:00:00 2001
From: Li Peng <peng.li@intel.com>
Date: Thu, 20 Aug 2009 13:54:04 +0800
Subject: Add G33 series in VGA hotplug support category

Test on the IGD chip, which is a G33-like graphic device.
---
 drivers/gpu/drm/i915/i915_drv.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Eric Anholt Aug. 30, 2009, 2:20 a.m. UTC | #1
On Thu, 2009-08-20 at 16:03 +0800, Li Peng wrote:
> >From 70ae749d15e012ab4a33aa2abe7a4d97a4dcebdb Mon Sep 17 00:00:00 2001
> From: Li Peng <peng.li@intel.com>
> Date: Thu, 20 Aug 2009 13:54:04 +0800
> Subject: Add G33 series in VGA hotplug support category
> 
> Test on the IGD chip, which is a G33-like graphic device.

signed-off-by?
diff mbox

Patch

diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 7537f57..940ee4c 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -892,7 +892,7 @@  extern int i915_wait_ring(struct drm_device * dev, int n, const char *caller);
 #define SUPPORTS_INTEGRATED_HDMI(dev)	(IS_G4X(dev) || IS_IGDNG(dev))
 #define SUPPORTS_INTEGRATED_DP(dev)	(IS_G4X(dev) || IS_IGDNG(dev))
 #define SUPPORTS_EDP(dev)		(IS_IGDNG_M(dev))
-#define I915_HAS_HOTPLUG(dev) (IS_I945G(dev) || IS_I945GM(dev) || IS_I965G(dev))
+#define I915_HAS_HOTPLUG(dev) (IS_I945G(dev) || IS_I945GM(dev) || IS_G33(dev) || IS_I965G(dev))
 /* dsparb controlled by hw only */
 #define DSPARB_HWCONTROL(dev) (IS_G4X(dev) || IS_IGDNG(dev))