summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2013-08-28 00:21:03 +0200
committerLucas Stach <dev@lynxeye.de>2014-05-09 21:19:55 +0200
commit15c0a0cb7c16e5a65a6836700b4473a622c60848 (patch)
treef3a4441d63b702bdbbe610f9f32e40a657d081db
parent2a05ff550c6cc111b45298048587b27e01c6e1d5 (diff)
downloadlinux-nouveau-arm.tar.gz
drm/nouveau: map IB write-combinednouveau-arm
Signed-off-by: Lucas Stach <dev@lynxeye.de>
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_chan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_chan.c b/drivers/gpu/drm/nouveau/nouveau_chan.c
index ccb6b45..445a258 100644
--- a/drivers/gpu/drm/nouveau/nouveau_chan.c
+++ b/drivers/gpu/drm/nouveau/nouveau_chan.c
@@ -114,7 +114,8 @@ nouveau_channel_prep(struct nouveau_drm *drm, struct nouveau_cli *cli,
if (nouveau_vram_pushbuf)
target = TTM_PL_FLAG_VRAM;
- ret = nouveau_bo_new(drm->dev, size, 0, target, 0, 0, NULL,
+ ret = nouveau_bo_new(drm->dev, size, 0, target, 0,
+ NOUVEAU_GEM_TILE_WCUS, NULL,
&chan->push.buffer);
if (ret == 0) {
ret = nouveau_bo_pin(chan->push.buffer, target);