From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 76223] [radeonsi] luxmark segfault Date: Wed, 02 Jul 2014 21:33:17 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2058655235==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 33EF96E661 for ; Wed, 2 Jul 2014 14:33:17 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2058655235== Content-Type: multipart/alternative; boundary="1404336797.c6DeDF1.31883"; charset="us-ascii" --1404336797.c6DeDF1.31883 Date: Wed, 2 Jul 2014 21:33:17 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=76223 --- Comment #13 from Aaron Watry --- Created attachment 102163 --> https://bugs.freedesktop.org/attachment.cgi?id=102163&action=edit Possible fix for luxmark segfault The luxrays kernels used an __attribute__(work_group_size_hint(64,1,1)) on several kernels. Mesa was not expecting kernels to have multiple operands in the LLVM metadata nodes (and an attribute is represented as an additional metadata node). This led to memory corruption and an LLVM error. This patch fixes the piglit test case in attachment 101832 on CEDAR (r600g), and it probably helps radeonsi as well (which I can test later). This same patch will be sent to the mesa-dev list momentarily. -- You are receiving this mail because: You are the assignee for the bug. --1404336797.c6DeDF1.31883 Date: Wed, 2 Jul 2014 21:33:17 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 13 on bug 76223 from
Created attachment 102163 [details] [review]
Possible fix for luxmark segfault

The luxrays kernels used an __attribute__(work_group_size_hint(64,1,1)) on
several kernels.  Mesa was not expecting kernels to have multiple operands in
the LLVM metadata nodes (and an attribute is represented as an additional
metadata node). This led to memory corruption and an LLVM error.

This patch fixes the piglit test case in attachment 101832 [details] on CEDAR (r600g),
and it probably helps radeonsi as well (which I can test later).

This same patch will be sent to the mesa-dev list momentarily.


You are receiving this mail because:
  • You are the assignee for the bug.
--1404336797.c6DeDF1.31883-- --===============2058655235== 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 --===============2058655235==--