summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2009-04-15 12:44:21 +1000
committerBen Skeggs <bskeggs@redhat.com>2009-04-15 12:44:21 +1000
commit78e753d03314e3aa92af8ec601e9dbb869a938d5 (patch)
tree1fbcab9493811e9ffe019e26a9aad1f1da9b31f2
parent07646002c6835537c6ae44ef9b3f8480762279b8 (diff)
nouveau: store bo handle in public struct in bo_ref_handle
-rw-r--r--libdrm/nouveau/nouveau_bo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdrm/nouveau/nouveau_bo.c b/libdrm/nouveau/nouveau_bo.c
index 023c6bed..66466e38 100644
--- a/libdrm/nouveau/nouveau_bo.c
+++ b/libdrm/nouveau/nouveau_bo.c
@@ -404,7 +404,8 @@ nouveau_bo_handle_ref(struct nouveau_device *dev, uint32_t handle,
nvbo->size = req.size;
nvbo->handle = req.handle;
}
-
+
+ nvbo->base.handle = nvbo->handle;
return 0;
}