diff options
author | Ben Skeggs | 2011-06-07 03:24:14 +0200 |
---|---|---|
committer | Ben Skeggs | 2011-06-23 07:59:44 +0200 |
commit | 180cc30637b47dafa26e3202a41964b5ebdab365 (patch) | |
tree | c6c6831aab07a9abd78c6ec5ce3c5551b462f252 /drivers/gpu/drm/nouveau/nouveau_notifier.c | |
parent | drm/nouveau: convert some bo.offset use to vma.offset (diff) | |
download | kernel-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.c | 2 |
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; |