diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-06-06 21:24:14 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-06-23 01:59:44 -0400 |
commit | 180cc30637b47dafa26e3202a41964b5ebdab365 (patch) | |
tree | c6c6831aab07a9abd78c6ec5ce3c5551b462f252 /drivers/gpu/drm/nouveau/nouveau_object.c | |
parent | 07533ea549e725360209f958bb916085f18ff5b9 (diff) |
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, | |||
768 | struct nouveau_gpuobj *sem = NULL; | 768 | struct nouveau_gpuobj *sem = NULL; |
769 | struct nv50_display_crtc *dispc = | 769 | struct nv50_display_crtc *dispc = |
770 | &nv50_display(dev)->crtc[i]; | 770 | &nv50_display(dev)->crtc[i]; |
771 | u64 offset = dispc->sem.bo->bo.mem.start << PAGE_SHIFT; | 771 | u64 offset = dispc->sem.bo->bo.offset; |
772 | 772 | ||
773 | ret = nouveau_gpuobj_dma_new(chan, 0x3d, offset, 0xfff, | 773 | ret = nouveau_gpuobj_dma_new(chan, 0x3d, offset, 0xfff, |
774 | NV_MEM_ACCESS_RW, | 774 | NV_MEM_ACCESS_RW, |