summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_abi16.c
diff options
context:
space:
mode:
authorBob Gleitsmann2014-01-05 23:59:07 +0100
committerBen Skeggs2014-01-07 04:38:06 +0100
commitc1ccaa646cce2538b00fdca6d7eea0c38ebfd179 (patch)
tree034cebb9961acdcbb2ee8a29bef0e89c54d4ce07 /drivers/gpu/drm/nouveau/nouveau_abi16.c
parentdrm/nouveau/bios: make jump conditional (diff)
downloadkernel-qcow2-linux-c1ccaa646cce2538b00fdca6d7eea0c38ebfd179.tar.gz
kernel-qcow2-linux-c1ccaa646cce2538b00fdca6d7eea0c38ebfd179.tar.xz
kernel-qcow2-linux-c1ccaa646cce2538b00fdca6d7eea0c38ebfd179.zip
drm/nouveau: return offset of allocated notifier
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_abi16.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_abi16.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_abi16.c b/drivers/gpu/drm/nouveau/nouveau_abi16.c
index 6828d81ed7b9..900fae01793e 100644
--- a/drivers/gpu/drm/nouveau/nouveau_abi16.c
+++ b/drivers/gpu/drm/nouveau/nouveau_abi16.c
@@ -447,6 +447,8 @@ nouveau_abi16_ioctl_notifierobj_alloc(ABI16_IOCTL_ARGS)
if (ret)
goto done;
+ info->offset = ntfy->node->offset;
+
done:
if (ret)
nouveau_abi16_ntfy_fini(chan, ntfy);