diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2009-10-27 14:32:40 +1000 |
---|---|---|
committer | Ben Skeggs <skeggsb@beleth.(none)> | 2009-11-04 14:58:19 +1000 |
commit | a8bdf0e00c0653fd343fd7fd64b5f2e8437bb130 (patch) | |
tree | 43c6b49c4519126f0191df1d9596969d70ac2f3a /libdrm/nouveau/nouveau_bo.c | |
parent | 63910f8aa624be5f2eaa78e08a318d388a22f829 (diff) |
nouveau: add reloc refcnt to pending bo list
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'libdrm/nouveau/nouveau_bo.c')
-rw-r--r-- | libdrm/nouveau/nouveau_bo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libdrm/nouveau/nouveau_bo.c b/libdrm/nouveau/nouveau_bo.c index b7e6d867..85fc14f6 100644 --- a/libdrm/nouveau/nouveau_bo.c +++ b/libdrm/nouveau/nouveau_bo.c @@ -607,6 +607,7 @@ nouveau_bo_emit_buffer(struct nouveau_channel *chan, struct nouveau_bo *bo) pbbo = nvpb->buffers + nvpb->nr_buffers++; nvbo->pending = pbbo; nvbo->pending_channel = chan; + nvbo->pending_refcnt = 0; nouveau_bo_ref(bo, &ref); pbbo->user_priv = (uint64_t)(unsigned long)ref; |