From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 64810] EGL/Gles/Weston give segfault on RADEONSI with egl_gallium.so Date: Thu, 29 Aug 2013 13:40:46 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2138894554==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0EB69E6473 for ; Thu, 29 Aug 2013 06:40:46 -0700 (PDT) In-Reply-To: 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 --===============2138894554== Content-Type: multipart/alternative; boundary="1377783646.daCa71.3684"; charset="us-ascii" --1377783646.daCa71.3684 Date: Thu, 29 Aug 2013 13:40:45 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64810 --- Comment #14 from tux_mind --- (In reply to comment #12) > Can you try if Johannes' patch from comment 8 fixes the problem? i tried the to use the relevant part of the patch: i added '__attribute__((visibility("default")))' in front of r600_init_query_functions. but it didn't works. i'm not a mesa developer but i think that you should do something like this: edit shared structs to have shared data at the top: see attached #84840 find every shared function and check that data accessed from function it's in the shared ones. if not you have to do an "if(sizeof(arg) == sizeof(struct r600_struct))" to determine how to read/write that data. a well-done job it's to make a folder with all the shared code ( function and structs ) and use hardware-specific wrappers functions. happy developing guys :) -- You are receiving this mail because: You are the assignee for the bug. --1377783646.daCa71.3684 Date: Thu, 29 Aug 2013 13:40:46 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 14 on bug 64810 from
(In reply to comment #12)
> Can you try if Johannes' patch from comment 8 fixes the problem?

i tried the to use the relevant part of the patch:
i added '__attribute__((visibility("default")))' in front of
r600_init_query_functions.
but it didn't works.

i'm not a mesa developer but i think that you should do something like this:
edit shared structs to have shared data at the top: see attached #84840
find every shared function and check that data accessed from function it's in
the shared ones.
if not you have to do an "if(sizeof(arg) == sizeof(struct r600_struct))" to
determine how to read/write that data.

a well-done job it's to make a folder with all the shared code ( function and
structs ) and use hardware-specific wrappers functions.

happy developing guys :)


You are receiving this mail because:
  • You are the assignee for the bug.
--1377783646.daCa71.3684-- --===============2138894554== 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 --===============2138894554==--