Re: [patch] fix MGA DRM regression before 2.6.14

From: Dave Airlie
Date: Wed Oct 19 2005 - 21:42:18 EST



And a follow-on patch on top of the last one:

another one liner missing from the old init path, hopefully that is all of
them... need to buy some more MGA cards...

Signed-off-by: Dave Airlie <airlied@xxxxxxxx>

diff --git a/drivers/char/drm/mga_dma.c b/drivers/char/drm/mga_dma.c
--- a/drivers/char/drm/mga_dma.c
+++ b/drivers/char/drm/mga_dma.c
@@ -825,6 +825,7 @@ static int mga_do_init_dma( drm_device_t

if (! dev_priv->used_new_dma_init) {

+ dev_priv->dma_access = MGA_PAGPXFER;
dev_priv->wagp_enable = MGA_WAGP_ENABLE;

dev_priv->status = drm_core_findmap(dev, init->status_offset);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/