diff options
author | Dave Airlie <airlied@linux.ie> | 2005-10-20 01:54:38 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2005-10-20 01:54:38 +0000 |
commit | 727e88c4f4e55be435e47759bb3b1e75fc42d43d (patch) | |
tree | bc552094c12720f49b306383e52f5a5da0b8f389 | |
parent | 4b3ee6c50ed8b9382d3f253669470a5c82e8f0bc (diff) |
the old init path needs to set WAGP_ENABLE by default
-rw-r--r-- | shared-core/mga_dma.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shared-core/mga_dma.c b/shared-core/mga_dma.c index 1eae5ec1..2454ffd4 100644 --- a/shared-core/mga_dma.c +++ b/shared-core/mga_dma.c @@ -814,6 +814,9 @@ static int mga_do_init_dma(drm_device_t * dev, drm_mga_init_t * init) } if (! dev_priv->used_new_dma_init) { + + dev_priv->wagp_enable = MGA_WAGP_ENABLE; + dev_priv->status = drm_core_findmap(dev, init->status_offset); if (!dev_priv->status) { DRM_ERROR("failed to find status page!\n"); |