diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2009-06-03 13:54:43 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2009-06-05 14:07:23 +1000 |
commit | 3d4bfe8c893d016ef43d1ebf28e4607aa1f540a4 (patch) | |
tree | 5d2f6f2fb4aa712a54b81ce9bd7d8d17f9e2dfa9 /libdrm/nouveau/nouveau_pushbuf.c | |
parent | 2cb4c64d7310904b354365c2cbc263211e9eb4a1 (diff) |
nouveau: 0.0.14 + extend bo interface to support subrange mapping
Normal map() should operate as before, and map_range()/map_flush() should
give correct results but lacking any performance difference from map().
Nothing exiting being done here yet, but the interface is a good start.
Diffstat (limited to 'libdrm/nouveau/nouveau_pushbuf.c')
-rw-r--r-- | libdrm/nouveau/nouveau_pushbuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdrm/nouveau/nouveau_pushbuf.c b/libdrm/nouveau/nouveau_pushbuf.c index 5b8d18b9..fded21b9 100644 --- a/libdrm/nouveau/nouveau_pushbuf.c +++ b/libdrm/nouveau/nouveau_pushbuf.c @@ -60,8 +60,8 @@ nouveau_pushbuf_calc_reloc(struct drm_nouveau_gem_pushbuf_bo *pbbo, int nouveau_pushbuf_emit_reloc(struct nouveau_channel *chan, void *ptr, - struct nouveau_bo *bo, uint32_t data, uint32_t flags, - uint32_t vor, uint32_t tor) + struct nouveau_bo *bo, uint32_t data, uint32_t data2, + uint32_t flags, uint32_t vor, uint32_t tor) { struct nouveau_device_priv *nvdev = nouveau_device(chan->device); struct nouveau_pushbuf_priv *nvpb = nouveau_pushbuf(chan->pushbuf); |