From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bob Gleitsmann Subject: [Fwd: [Patch] drm/nouveau: nouveau/nouveau_abi16.c does not return offset of allocated notifier] Date: Wed, 06 Nov 2013 20:09:59 -0500 Message-ID: <1383786599.1296.8.camel@s2895bg> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-FKKxuQ10YlNwSzKcvPGb" Return-path: Received: from fmailhost01.isp.att.net (fmailhost01.isp.att.net [204.127.217.101]) by gabe.freedesktop.org (Postfix) with ESMTP id 58E161316A4 for ; Wed, 6 Nov 2013 17:15:02 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org Cc: bskeggs@redhat.com List-Id: dri-devel@lists.freedesktop.org --=-FKKxuQ10YlNwSzKcvPGb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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 --=-FKKxuQ10YlNwSzKcvPGb Content-Disposition: inline Content-Description: Forwarded message - [Patch] drm/nouveau: nouveau/nouveau_abi16.c does not return offset of allocated notifier Content-Type: message/rfc822 X-Apparently-To: rjgleits@bellsouth.net via 98.138.213.222; Sat, 14 Sep 2013 05:45:49 +0000 Received-SPF: none (domain of lists.freedesktop.org does not designate permitted sender hosts) X-YMailISG: kxp8TzIWLDtuauHsW5ncAnilU1iHn12sHU.CnWpg5eZNVXrl SAtIVzk3uN7sKxyYwhcznJVpwZ0tD.06ZHAyFKJOSqQ0YCcwqWgrzhFMcaHm a_aqZJs_S7az6fJQ1FGdcTtYisa65PqzZJb8BiqmGlkF_ybD6aBVRUUsjk.m XyDTSsKku4kWKcuJq4YBGAjlySUOZlgW3t2T5B7YLhKC.r.LCa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z0nAC8kJ_i9l3EygQ OPpulYL26Ot9hIydkbaxTkmS2aY- X-Originating-IP: [131.252.210.177] Authentication-Results: mta1054.sbc.mail.bf1.yahoo.com from=lists.freedesktop.org; domainkeys=neutral (no sig); from=bellsouth.net; dkim=neutral (no sig) Received: from 207.115.11.41 (EHLO fgateway11.isp.att.net) (207.115.11.41) by mta1054.sbc.mail.bf1.yahoo.com with SMTP; Sat, 14 Sep 2013 05:45:48 +0000 Received: from gabe.freedesktop.org ([131.252.210.177]) by isp.att.net (frfwmxc11) with ESMTP id <20130914054547M11004renve>; Sat, 14 Sep 2013 05:45:47 +0000 X-Originating-IP: [131.252.210.177] Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E71CEE6451 for ; Fri, 13 Sep 2013 22:45:46 -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: , Content-Type: text/plain; charset="us-ascii" Sender: dri-devel-bounces+rjgleits=bellsouth.net@lists.freedesktop.org Errors-To: dri-devel-bounces+rjgleits=bellsouth.net@lists.freedesktop.org Content-Transfer-Encoding: 7bit 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@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --=-FKKxuQ10YlNwSzKcvPGb Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --=-FKKxuQ10YlNwSzKcvPGb--