summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2014-12-05 15:02:16 +0900
committerJavier Jardón <jjardon@gnome.org>2015-05-18 14:45:38 +0100
commitd623ac7304feff9ddf3fea07e738bc52d42e7605 (patch)
tree002d123397cc94281f00f8a08386339c4962ec96
parent6804926b81a86b8dcb583571e3b42c910fe48aa1 (diff)
downloadmesa-baserock/mesa-10.5.5-jetson.tar.gz
nvc0: create screen fence object with coherent attributebaserock/mesa-10.5.5-jetson
-rw-r--r--src/gallium/drivers/nouveau/nvc0/nvc0_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
index eb713be11b8..f6aff428213 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
@@ -665,7 +665,7 @@ nvc0_screen_create(struct nouveau_device *dev)
screen->base.base.get_video_param = nouveau_vp3_screen_get_video_param;
screen->base.base.is_video_format_supported = nouveau_vp3_screen_video_supported;
- ret = nouveau_bo_new(dev, NOUVEAU_BO_GART | NOUVEAU_BO_MAP, 0, 4096, NULL,
+ ret = nouveau_bo_new(dev, NOUVEAU_BO_GART | NOUVEAU_BO_MAP | NOUVEAU_BO_COHERENT, 0, 4096, NULL,
&screen->fence.bo);
if (ret)
goto fail;