diff options
author | Bob Gleitsmann <rjgleits@bellsouth.net> | 2014-01-05 22:59:07 (GMT) |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-01-07 03:38:06 (GMT) |
commit | c1ccaa646cce2538b00fdca6d7eea0c38ebfd179 (patch) | |
tree | 034cebb9961acdcbb2ee8a29bef0e89c54d4ce07 /drivers/gpu | |
parent | 6d60792ec059d9f2139828f9f017679abb81aa73 (diff) | |
download | linux-c1ccaa646cce2538b00fdca6d7eea0c38ebfd179.tar.xz |
drm/nouveau: return offset of allocated notifier
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_abi16.c | 2 |
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 6828d81..900fae0 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); |