nouveau: user buffers need to be mappable

main
Ben Skeggs 2009-07-28 07:46:20 +10:00 committed by Ben Skeggs
parent 001331f4f1
commit 0bf8fb3bce
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ nouveau_bo_user(struct nouveau_device *dev, void *ptr, int size,
struct nouveau_bo_priv *nvbo;
int ret;
ret = nouveau_bo_new(dev, 0, 0, size, bo);
ret = nouveau_bo_new(dev, NOUVEAU_BO_MAP, 0, size, bo);
if (ret)
return ret;
nvbo = nouveau_bo(*bo);