projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e52ebd6
)
nvc0: fence.bo is mappable, mark it as such
author
Ben Skeggs
<bskeggs@redhat.com>
Mon, 20 Dec 2010 20:32:13 +0000
(06:32 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Mon, 20 Dec 2010 20:32:13 +0000
(06:32 +1000)
src/gallium/drivers/nvc0/nvc0_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nvc0/nvc0_screen.c
b/src/gallium/drivers/nvc0/nvc0_screen.c
index 24937217c09c2df447b9b63060df124a92583e4f..7936ef37d172f942230a9f5f91436ebe5673e769 100644
(file)
--- a/
src/gallium/drivers/nvc0/nvc0_screen.c
+++ b/
src/gallium/drivers/nvc0/nvc0_screen.c
@@
-375,7
+375,8
@@
nvc0_screen_create(struct pipe_winsys *ws, struct nouveau_device *dev)
screen->base.vertex_buffer_flags = NOUVEAU_BO_GART;
screen->base.index_buffer_flags = 0;
- ret = nouveau_bo_new(dev, NOUVEAU_BO_GART, 0, 4096, &screen->fence.bo);
+ ret = nouveau_bo_new(dev, NOUVEAU_BO_GART | NOUVEAU_BO_MAP, 0, 4096,
+ &screen->fence.bo);
if (ret)
goto fail;
nouveau_bo_map(screen->fence.bo, NOUVEAU_BO_RDWR);