From patchwork Sat Sep 14 05:40:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bob Gleitsmann X-Patchwork-Id: 2893021 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D44709F23C for ; Sat, 14 Sep 2013 05:45:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0A16220263 for ; Sat, 14 Sep 2013 05:45:44 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id CDD3820258 for ; Sat, 14 Sep 2013 05:45:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E9C6FE6689 for ; Fri, 13 Sep 2013 22:45:41 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 302 seconds by postgrey-1.32 at gabe; Fri, 13 Sep 2013 22:45:27 PDT 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) Received: from [192.168.1.3] (adsl-184-33-95-101.mia.bellsouth.net[184.33.95.101]) by isp.att.net (frfwmhc05) with SMTP id <20130914054024H05008q5m6e>; Sat, 14 Sep 2013 05:40:24 +0000 X-Originating-IP: [184.33.95.101] Message-ID: <1379137223.1306.5.camel@s2895bg> Subject: [Patch] drm/nouveau: nouveau/nouveau_abi16.c does not return offset of allocated notifier From: Bob Gleitsmann To: dri-devel@lists.freedesktop.org Date: Sat, 14 Sep 2013 01:40:23 -0400 X-Mailer: Evolution 3.8.5 (3.8.5-2.fc19) Mime-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi, The following patch fixes problems retrieving query results. I have tested it on nv40 - 6800 Ultra. Best Wishes, Bob if (ret) --- 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: