Skip to contentSkip to conversation

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

PATCH New Bob Gleitsmann 1 participant 1 message Nov 7, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/nouveau: nouveau/nouveau_abi16.c does not return offset of allocated notifier]

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

drivers/gpu/drm/nouveau/nouveau_abi16.c +0 -0
@@ -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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel