mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-05 01:58:02 +02:00
nouveau: unbreak AGP
This commit is contained in:
parent
af317f1cc7
commit
851c950d98
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue