Module: Mesa Branch: 9.1 Commit: fa5554fce7d8e7364786385c086a58a2d2953462 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa5554fce7d8e7364786385c086a58a2d2953462
Author: Emil Velikov <[email protected]> Date: Fri Aug 9 19:51:02 2013 +0100 nouveau: initialise the nouveau_transfer maps Cc: "9.2 and 9.1" <[email protected]> Signed-off-by: Emil Velikov <[email protected]> (cherry picked from commit dc10251d086576a007c77b7ca7854f5fe8c7e134) --- src/gallium/drivers/nouveau/nouveau_buffer.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/nouveau/nouveau_buffer.c b/src/gallium/drivers/nouveau/nouveau_buffer.c index 0c3d43b..a51dd40 100644 --- a/src/gallium/drivers/nouveau/nouveau_buffer.c +++ b/src/gallium/drivers/nouveau/nouveau_buffer.c @@ -266,6 +266,7 @@ nouveau_buffer_cache(struct nouveau_context *nv, struct nv04_resource *buf) tx.base.box.x = 0; tx.base.box.width = buf->base.width0; tx.bo = NULL; + tx.map = NULL; if (!buf->data) if (!nouveau_buffer_malloc(buf)) @@ -624,6 +625,7 @@ nouveau_buffer_migrate(struct nouveau_context *nv, tx.base.box.x = 0; tx.base.box.width = buf->base.width0; tx.bo = NULL; + tx.map = NULL; if (!nouveau_transfer_staging(nv, &tx, FALSE)) return FALSE; nouveau_transfer_write(nv, &tx, 0, tx.base.box.width); _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
