summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_notifier.c
diff options
context:
space:
mode:
authorBen Skeggs2011-06-07 03:24:14 +0200
committerBen Skeggs2011-06-23 07:59:44 +0200
commit180cc30637b47dafa26e3202a41964b5ebdab365 (patch)
treec6c6831aab07a9abd78c6ec5ce3c5551b462f252 /drivers/gpu/drm/nouveau/nouveau_notifier.c
parentdrm/nouveau: convert some bo.offset use to vma.offset (diff)
downloadkernel-qcow2-linux-180cc30637b47dafa26e3202a41964b5ebdab365.tar.gz
kernel-qcow2-linux-180cc30637b47dafa26e3202a41964b5ebdab365.tar.xz
kernel-qcow2-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_notifier.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_notifier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_notifier.c b/drivers/gpu/drm/nouveau/nouveau_notifier.c
index 29190e845fd7..81b54e0bb822 100644
--- a/drivers/gpu/drm/nouveau/nouveau_notifier.c
+++ b/drivers/gpu/drm/nouveau/nouveau_notifier.c
@@ -122,7 +122,7 @@ nouveau_notifier_alloc(struct nouveau_channel *chan, uint32_t handle,
target = NV_MEM_TARGET_VRAM;
else
target = NV_MEM_TARGET_GART;
- offset = chan->notifier_bo->bo.mem.start << PAGE_SHIFT;
+ offset = chan->notifier_bo->bo.offset;
} else {
target = NV_MEM_TARGET_VM;
offset = chan->notifier_bo->vma.offset;