I think this may have been overlooked, but it does make a difference.
BTW, the comments in the code state that the fence has to be at zero
offset in the page. In the course of investigating this problem I found
that this is not the case, at least for the 6800 Ultra. I have it
located at f80 and it works correctly. Or seems to.
Best Wishes,
Bob
--- Begin Message ---
- Subject: [Patch] drm/nouveau: nouveau/nouveau_abi16.c does not return offset of allocated notifier
- From: Bob Gleitsmann <rjgleits@xxxxxxxxxxxxx>
- Date: Sat, 14 Sep 2013 01:40:23 -0400
- Authentication-results: mta1054.sbc.mail.bf1.yahoo.com from=lists.freedesktop.org; domainkeys=neutral (no sig); from=bellsouth.net; dkim=neutral (no sig)
- Delivered-to: dri-devel@xxxxxxxxxxxxxxxxxxxxx
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)
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--- End Message ---
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel