diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-06-07 03:24:14 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-06-23 07:59:44 +0200 |
commit | 180cc30637b47dafa26e3202a41964b5ebdab365 (patch) | |
tree | c6c6831aab07a9abd78c6ec5ce3c5551b462f252 /drivers/gpu/drm/nouveau/nouveau_object.c | |
parent | drm/nouveau: convert some bo.offset use to vma.offset (diff) | |
download | linux-180cc30637b47dafa26e3202a41964b5ebdab365.tar.xz linux-180cc30637b47dafa26e3202a41964b5ebdab365.zip |
drm/nouveau: convert bo.mem.start usage to bo.offset
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_object.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_object.c b/drivers/gpu/drm/nouveau/nouveau_object.c index ab4be9ca43cc..37e6ca8990c6 100644 --- a/drivers/gpu/drm/nouveau/nouveau_object.c +++ b/drivers/gpu/drm/nouveau/nouveau_object.c @@ -768,7 +768,7 @@ nouveau_gpuobj_channel_init(struct nouveau_channel *chan, struct nouveau_gpuobj *sem = NULL; struct nv50_display_crtc *dispc = &nv50_display(dev)->crtc[i]; - u64 offset = dispc->sem.bo->bo.mem.start << PAGE_SHIFT; + u64 offset = dispc->sem.bo->bo.offset; ret = nouveau_gpuobj_dma_new(chan, 0x3d, offset, 0xfff, NV_MEM_ACCESS_RW, |