nouveau: unbreak AGP

main
Ben Skeggs 2007-07-13 02:18:59 +10:00
parent af317f1cc7
commit 851c950d98
1 changed files with 2 additions and 2 deletions

View File

@ -473,8 +473,8 @@ alloc_ok:
block->flags|=NOUVEAU_MEM_MAPPED;
if (type == NOUVEAU_MEM_AGP)
ret = drm_addmap(dev, block->start + dev->agp->base,
block->size, _DRM_AGP, 0, &block->map);
ret = drm_addmap(dev, block->start, block->size,
_DRM_AGP, 0, &block->map);
else if (type == NOUVEAU_MEM_FB)
ret = drm_addmap(dev, block->start + dev_priv->fb_phys,
block->size, _DRM_FRAME_BUFFER,