aboutsummaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@beleth.keine.ath.cx>2009-07-28 07:46:20 +1000
committerBen Skeggs <bskeggs@redhat.com>2009-07-28 20:59:05 +1000
commit0bf8fb3bce6b4d9b4820d38d37e1ac1e73e22d23 (patch)
tree71e2a829d02df7b116fa64d332f31bb138a7a2cc /libdrm
parent001331f4f1f094ef02497aa618ae5eeb2febedfb (diff)
nouveau: user buffers need to be mappable
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);