diff options
author | Eric Anholt <eric@anholt.net> | 2008-12-04 07:50:02 +0100 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2008-12-29 08:47:23 +0100 |
commit | 60fd99e3682c5acc74d58ed61dac93526d6976f7 (patch) | |
tree | 4e22a666f014aa38f33bc45f7f41b51605bc1a42 /drivers/gpu/drm/i915/i915_drv.h | |
parent | drm/i915: Register module dependencies for the modesetting code. (diff) | |
download | linux-60fd99e3682c5acc74d58ed61dac93526d6976f7.tar.xz linux-60fd99e3682c5acc74d58ed61dac93526d6976f7.zip |
drm/i915: Fix stolen memory detection on G45 and GM45.
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 6f18ee68d06a..cc2660580553 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -746,7 +746,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 || \ + IS_GM45(dev)) #define IS_G33(dev) ((dev)->pci_device == 0x29C2 || \ (dev)->pci_device == 0x29B2 || \ |