summaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
Diffstat (limited to 'libdrm')
-rw-r--r--libdrm/nouveau/nouveau_bo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdrm/nouveau/nouveau_bo.c b/libdrm/nouveau/nouveau_bo.c
index 4f91a5da..05e5a2ed 100644
--- a/libdrm/nouveau/nouveau_bo.c
+++ b/libdrm/nouveau/nouveau_bo.c
@@ -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);