From 727e88c4f4e55be435e47759bb3b1e75fc42d43d Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 20 Oct 2005 01:54:38 +0000 Subject: the old init path needs to set WAGP_ENABLE by default --- shared-core/mga_dma.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'shared-core') 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"); -- cgit v1.2.3