aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nv84_fence.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv84_fence.c')
-rw-r--r--drivers/gpu/drm/nouveau/nv84_fence.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/nouveau/nv84_fence.c b/drivers/gpu/drm/nouveau/nv84_fence.c
index d6c6c87c3f07..cb5b88938d45 100644
--- a/drivers/gpu/drm/nouveau/nv84_fence.c
+++ b/drivers/gpu/drm/nouveau/nv84_fence.c
@@ -234,7 +234,7 @@ nv84_fence_create(struct nouveau_drm *drm)
234 ret = nouveau_bo_new(drm->dev, 16 * priv->base.contexts, 0, 234 ret = nouveau_bo_new(drm->dev, 16 * priv->base.contexts, 0,
235 TTM_PL_FLAG_VRAM, 0, 0, NULL, NULL, &priv->bo); 235 TTM_PL_FLAG_VRAM, 0, 0, NULL, NULL, &priv->bo);
236 if (ret == 0) { 236 if (ret == 0) {
237 ret = nouveau_bo_pin(priv->bo, TTM_PL_FLAG_VRAM); 237 ret = nouveau_bo_pin(priv->bo, TTM_PL_FLAG_VRAM, false);
238 if (ret == 0) { 238 if (ret == 0) {
239 ret = nouveau_bo_map(priv->bo); 239 ret = nouveau_bo_map(priv->bo);
240 if (ret) 240 if (ret)
@@ -246,10 +246,10 @@ nv84_fence_create(struct nouveau_drm *drm)
246 246
247 if (ret == 0) 247 if (ret == 0)
248 ret = nouveau_bo_new(drm->dev, 16 * priv->base.contexts, 0, 248 ret = nouveau_bo_new(drm->dev, 16 * priv->base.contexts, 0,
249 TTM_PL_FLAG_TT, 0, 0, NULL, NULL, 249 TTM_PL_FLAG_TT | TTM_PL_FLAG_UNCACHED, 0,
250 &priv->bo_gart); 250 0, NULL, NULL, &priv->bo_gart);
251 if (ret == 0) { 251 if (ret == 0) {
252 ret = nouveau_bo_pin(priv->bo_gart, TTM_PL_FLAG_TT); 252 ret = nouveau_bo_pin(priv->bo_gart, TTM_PL_FLAG_TT, false);
253 if (ret == 0) { 253 if (ret == 0) {
254 ret = nouveau_bo_map(priv->bo_gart); 254 ret = nouveau_bo_map(priv->bo_gart);
255 if (ret) 255 if (ret)