Skip to content

Commit c1ccaa6

Browse files
rjgleitsBen Skeggs
authored andcommitted
drm/nouveau: return offset of allocated notifier
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
1 parent 6d60792 commit c1ccaa6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/nouveau/nouveau_abi16.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,8 @@ nouveau_abi16_ioctl_notifierobj_alloc(ABI16_IOCTL_ARGS)
447447
if (ret)
448448
goto done;
449449

450+
info->offset = ntfy->node->offset;
451+
450452
done:
451453
if (ret)
452454
nouveau_abi16_ntfy_fini(chan, ntfy);

0 commit comments

Comments
 (0)