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-25 17:10:51 +0100
commit635ad274470a064100ff6aa38ede83d748ae07cf (patch)
tree0b8f8828c781c30f973686450ca795258f701dfb
parentb10cd3cccdcc42242a9c1bfe006b0baf863a5314 (diff)
downloadmesa-baserock/mesa-10.6.0-rc1-jetson.tar.gz
nvc0: create screen fence object with coherent attributebaserock/mesa-10.6.0-rc1-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 0c7dce66c94..1f37cd0d4e4 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
@@ -675,7 +675,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;