diff mbox

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

Message ID 1383786599.1296.8.camel@s2895bg (mailing list archive)
State New, archived
Headers show

Commit Message

Bob Gleitsmann Nov. 7, 2013, 1:09 a.m. UTC
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
Hi,

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

Best Wishes,

Bob

        if (ret)
diff mbox

Patch

--- 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: