[Patch] drm/nouveau: nouveau/nouveau_abi16.c does not return offset of allocated notifier

Bob Gleitsmann rjgleits at bellsouth.net
Fri Sep 13 22:40:23 PDT 2013


Hi,

The following patch fixes problems retrieving query results. I have
tested it on nv40 - 6800 Ultra.

Best Wishes,

Bob

--- a/drivers/gpu/drm/nouveau/nouveau_abi16.c
+++ b/drivers/gpu/drm/nouveau/nouveau_abi16.c
@@ -445,6 +445,7 @@
nouveau_abi16_ioctl_notifierobj_alloc(ABI16_IOCTL_ARGS)
                                 sizeof(args), &object);
        if (ret)
                goto done;
+       info->offset = ntfy->node->offset;
 
 done:
        if (ret)




More information about the dri-devel mailing list