drm/nouveau: return offset of allocated notifier
authorBob Gleitsmann <rjgleits@bellsouth.net>
Sun, 5 Jan 2014 22:59:07 +0000 (08:59 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 7 Jan 2014 03:38:06 +0000 (13:38 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_abi16.c

index 6828d81ed7b99daea875ffd06c4dd399d4aa05dd..900fae01793e7884ee8033a11d6c247cbeb36678 100644 (file)
@@ -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);