summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_channel.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-06-07 03:02:38 +0200
committerBen Skeggs <bskeggs@redhat.com>2011-06-23 07:59:39 +0200
commit07533ea549e725360209f958bb916085f18ff5b9 (patch)
tree2ed2b1c9f97f7712f1edf94afcc60ef73e7d3290 /drivers/gpu/drm/nouveau/nouveau_channel.c
parentdrm/nouveau: create temp vmas for both src and dst of bo moves (diff)
downloadlinux-07533ea549e725360209f958bb916085f18ff5b9.tar.xz
linux-07533ea549e725360209f958bb916085f18ff5b9.zip
drm/nouveau: convert some bo.offset use to vma.offset
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_channel.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_channel.c b/drivers/gpu/drm/nouveau/nouveau_channel.c
index 23bd0c4f70b1..d199097b8918 100644
--- a/drivers/gpu/drm/nouveau/nouveau_channel.c
+++ b/drivers/gpu/drm/nouveau/nouveau_channel.c
@@ -64,7 +64,7 @@ nouveau_channel_pushbuf_init(struct nouveau_channel *chan)
NV_MEM_TARGET_VM,
&chan->pushbuf);
}
- chan->pushbuf_base = chan->pushbuf_bo->bo.offset;
+ chan->pushbuf_base = chan->pushbuf_bo->vma.offset;
} else
if (chan->pushbuf_bo->bo.mem.mem_type == TTM_PL_TT) {
ret = nouveau_gpuobj_dma_new(chan, NV_CLASS_DMA_IN_MEMORY, 0,