From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bob Gleitsmann Subject: [Patch] drm/nouveau: nouveau/nouveau_abi16.c does not return offset of allocated notifier Date: Sat, 14 Sep 2013 01:40:23 -0400 Message-ID: <1379137223.1306.5.camel@s2895bg> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from fmailhost05.isp.att.net (fmailhost05.isp.att.net [207.115.11.55]) by gabe.freedesktop.org (Postfix) with ESMTP id 3D9CAE5C62 for ; Fri, 13 Sep 2013 22:45:27 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org 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)