summaryrefslogtreecommitdiff
path: root/src/i830_dri.c
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2008-01-30 18:52:32 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2008-01-30 18:52:32 +0800
commit04032dad28baab80131edbe8fe58aade8149bb71 (patch)
tree56a5cc5b7e0341e39f9ab41966274a3065daab87 /src/i830_dri.c
parentb9c3fa79d9fd48c34536f92e6c1c70fe3a619410 (diff)
Wrap up chipsets which needs graphics address for status page
Also add support on new chipset.
Diffstat (limited to 'src/i830_dri.c')
-rw-r--r--src/i830_dri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_dri.c b/src/i830_dri.c
index f52a7c3d..3400b380 100644
--- a/src/i830_dri.c
+++ b/src/i830_dri.c
@@ -813,7 +813,7 @@ I830DRIDoMappings(ScreenPtr pScreen)
return FALSE;
}
- if (IS_G33CLASS(pI830)) {
+ if (HWS_NEED_GFX(pI830)) {
if (!I830SetHWS(pScrn, pI830->hw_status->offset)) {
DRICloseScreen(pScreen);
return FALSE;