summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2014-12-05 15:02:16 +0900
committerJames Thomas <james.thomas@codethink.co.uk>2015-04-27 10:57:16 +0000
commitd4407a29d0c64134999fed83dbbd8707ca449ce7 (patch)
treef7db2e713722dbf22d4ff48b7052d1db62f5ee16
parent912480281354b34683a54c52b8bf20e515332525 (diff)
downloadmesa-baserock/mesa-10.5.4-jetson.tar.gz
nvc0: create screen fence object with coherent attributebaserock/mesa-10.5.4-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;