[Intel-gfx] [PATCH 2/2] i915: Add support for another GMA X45000 variant.

Eric Anholt eric at anholt.net
Wed Apr 8 04:41:32 CEST 2009


On Tue, 2009-04-07 at 11:48 -0400, krh at bitplanet.net wrote:
> From: Kristian Høgsberg <krh at redhat.com>

This is the PCI ID for G41, and ours had serious stolen memory problems
-- did this actually work out on your system?

> Signed-off-by: Kristian Høgsberg <krh at redhat.com>
> ---
>  drivers/gpu/drm/i915/i915_drv.c |    1 +
>  drivers/gpu/drm/i915/i915_drv.h |    4 +++-
>  2 files changed, 4 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
> index afc2772..e68fae2 100644
> --- a/drivers/gpu/drm/i915/i915_drv.c
> +++ b/drivers/gpu/drm/i915/i915_drv.c
> @@ -74,6 +74,7 @@ static struct pci_device_id pciidlist[] = {
>  	CHIPSET(0x2e02),
>  	CHIPSET(0x2e12),
>  	CHIPSET(0x2e22),
> +	CHIPSET(0x2e32),
>  	CHIPSET(0xa001),
>  	CHIPSET(0xa011),
>  	{ 0, 0, 0 }
> diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
> index c1685d0..4790ea9 100644
> --- a/drivers/gpu/drm/i915/i915_drv.h
> +++ b/drivers/gpu/drm/i915/i915_drv.h
> @@ -776,7 +776,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)
>  
> @@ -785,6 +786,7 @@ 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 == 0x2E32 || \
>  		     IS_GM45(dev))
>  
>  #define IS_IGDG(dev) ((dev)->pci_device == 0xa001)
-- 
Eric Anholt
eric at anholt.net                         eric.anholt at intel.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090407/df09bdb9/attachment.sig>


More information about the Intel-gfx mailing list