Эх сурвалжийг харах

drm/nouveau: return offset of allocated notifier

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Bob Gleitsmann 12 жил өмнө
parent
commit
c1ccaa646c

+ 2 - 0
drivers/gpu/drm/nouveau/nouveau_abi16.c

@@ -447,6 +447,8 @@ nouveau_abi16_ioctl_notifierobj_alloc(ABI16_IOCTL_ARGS)
 	if (ret)
 	if (ret)
 		goto done;
 		goto done;
 
 
+	info->offset = ntfy->node->offset;
+
 done:
 done:
 	if (ret)
 	if (ret)
 		nouveau_abi16_ntfy_fini(chan, ntfy);
 		nouveau_abi16_ntfy_fini(chan, ntfy);