* [Bug 32544] [r300g] LLVM support for software TLS implementation doesn't work
2010-12-21 7:20 [Bug 32544] New: [r300g] LLVM support for software TLS implementation doesn't work bugzilla-daemon
@ 2010-12-22 18:22 ` bugzilla-daemon
2010-12-23 16:51 ` bugzilla-daemon
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-12-22 18:22 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=32544
--- Comment #1 from Marek Olšák <maraeo@gmail.com> 2010-12-22 10:22:58 PST ---
I don't have a problem with r300g/LLVM.
Could you possibly bisect the issue on your machine?
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 32544] [r300g] LLVM support for software TLS implementation doesn't work
2010-12-21 7:20 [Bug 32544] New: [r300g] LLVM support for software TLS implementation doesn't work bugzilla-daemon
2010-12-22 18:22 ` [Bug 32544] " bugzilla-daemon
@ 2010-12-23 16:51 ` bugzilla-daemon
2010-12-24 9:37 ` bugzilla-daemon
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-12-23 16:51 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=32544
--- Comment #2 from Drill <drill87@gmail.com> 2010-12-23 08:51:05 PST ---
(In reply to comment #1)
> I don't have a problem with r300g/LLVM.
>
> Could you possibly bisect the issue on your machine?
Unfortunately can't imagine how to do this at the moment.
The strange thing, is that i compile and use the old git version (from
15.11.2010) version in absolutely the same environment as the newest one git
version with the same options. But, as already mentioned, i'm getting on old
800 fps, and only 250 on new one :(
Forget to mention before - i'm using llvm 2.8 .
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 32544] [r300g] LLVM support for software TLS implementation doesn't work
2010-12-21 7:20 [Bug 32544] New: [r300g] LLVM support for software TLS implementation doesn't work bugzilla-daemon
2010-12-22 18:22 ` [Bug 32544] " bugzilla-daemon
2010-12-23 16:51 ` bugzilla-daemon
@ 2010-12-24 9:37 ` bugzilla-daemon
2010-12-24 9:39 ` bugzilla-daemon
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-12-24 9:37 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=32544
--- Comment #3 from Drill <drill87@gmail.com> 2010-12-24 01:37:46 PST ---
I've managed to fix the problem (at least I have good fps again).
The problem appeared after this commit:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=efc82aef35a2aac5d2ed9774f6d28f2626796416
.
gallivm object wasn't created in draw_create() function, so llvm object
couldn't be created. So I created gallivm in draw_create() and llvm seems to be
working.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 32544] [r300g] LLVM support for software TLS implementation doesn't work
2010-12-21 7:20 [Bug 32544] New: [r300g] LLVM support for software TLS implementation doesn't work bugzilla-daemon
` (2 preceding siblings ...)
2010-12-24 9:37 ` bugzilla-daemon
@ 2010-12-24 9:39 ` bugzilla-daemon
2010-12-24 15:28 ` bugzilla-daemon
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-12-24 9:39 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=32544
--- Comment #4 from Drill <drill87@gmail.com> 2010-12-24 01:39:14 PST ---
Created an attachment (id=41413)
View: https://bugs.freedesktop.org/attachment.cgi?id=41413
Review: https://bugs.freedesktop.org/review?bug=32544&attachment=41413
fixes llvm support for TLS not working in r300g
Not sure if this is consistent with the rest of the code.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 32544] [r300g] LLVM support for software TLS implementation doesn't work
2010-12-21 7:20 [Bug 32544] New: [r300g] LLVM support for software TLS implementation doesn't work bugzilla-daemon
` (3 preceding siblings ...)
2010-12-24 9:39 ` bugzilla-daemon
@ 2010-12-24 15:28 ` bugzilla-daemon
2010-12-24 16:55 ` bugzilla-daemon
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-12-24 15:28 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=32544
--- Comment #5 from Marek Olšák <maraeo@gmail.com> 2010-12-24 07:28:15 PST ---
I wonder if there's a way to fix it without touching the code of Draw.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 32544] [r300g] LLVM support for software TLS implementation doesn't work
2010-12-21 7:20 [Bug 32544] New: [r300g] LLVM support for software TLS implementation doesn't work bugzilla-daemon
` (4 preceding siblings ...)
2010-12-24 15:28 ` bugzilla-daemon
@ 2010-12-24 16:55 ` bugzilla-daemon
2010-12-24 17:40 ` bugzilla-daemon
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-12-24 16:55 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=32544
--- Comment #6 from Drill <drill87@gmail.com> 2010-12-24 08:55:30 PST ---
Created an attachment (id=41428)
View: https://bugs.freedesktop.org/attachment.cgi?id=41428
Review: https://bugs.freedesktop.org/review?bug=32544&attachment=41428
another fix
There is another variant then - to do all the changes in
gallium/drivers/r300/r300_context.c : in function r300_create_context create
gallivm and call draw_create_gallivm directly instead of draw_create .
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 32544] [r300g] LLVM support for software TLS implementation doesn't work
2010-12-21 7:20 [Bug 32544] New: [r300g] LLVM support for software TLS implementation doesn't work bugzilla-daemon
` (5 preceding siblings ...)
2010-12-24 16:55 ` bugzilla-daemon
@ 2010-12-24 17:40 ` bugzilla-daemon
2011-01-04 16:24 ` bugzilla-daemon
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-12-24 17:40 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=32544
Marek Olšák <maraeo@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #7 from Marek Olšák <maraeo@gmail.com> 2010-12-24 09:40:54 PST ---
Fixed with commit 88550083b3857184445075e70fed8b2eed4952a1. Closing.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 32544] [r300g] LLVM support for software TLS implementation doesn't work
2010-12-21 7:20 [Bug 32544] New: [r300g] LLVM support for software TLS implementation doesn't work bugzilla-daemon
` (6 preceding siblings ...)
2010-12-24 17:40 ` bugzilla-daemon
@ 2011-01-04 16:24 ` bugzilla-daemon
2011-01-04 16:44 ` bugzilla-daemon
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2011-01-04 16:24 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=32544
Brian Paul <brianp@vmware.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #8 from Brian Paul <brianp@vmware.com> 2011-01-04 08:24:46 PST ---
I think the first patch is actually the better one. It lets all drivers that
utilize the draw module to get LLVM acceleration when LLVM is present and
avoids having LLVM code in each of the drivers.
If there's no objections, I'll revert commit
88550083b3857184445075e70fed8b2eed4952a1 and apply the first attached patch.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 32544] [r300g] LLVM support for software TLS implementation doesn't work
2010-12-21 7:20 [Bug 32544] New: [r300g] LLVM support for software TLS implementation doesn't work bugzilla-daemon
` (7 preceding siblings ...)
2011-01-04 16:24 ` bugzilla-daemon
@ 2011-01-04 16:44 ` bugzilla-daemon
2011-01-04 16:47 ` bugzilla-daemon
2011-01-24 10:54 ` bugzilla-daemon
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2011-01-04 16:44 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=32544
--- Comment #9 from Marek Olšák <maraeo@gmail.com> 2011-01-04 08:44:28 PST ---
Yeah, go ahead...
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 32544] [r300g] LLVM support for software TLS implementation doesn't work
2010-12-21 7:20 [Bug 32544] New: [r300g] LLVM support for software TLS implementation doesn't work bugzilla-daemon
` (8 preceding siblings ...)
2011-01-04 16:44 ` bugzilla-daemon
@ 2011-01-04 16:47 ` bugzilla-daemon
2011-01-24 10:54 ` bugzilla-daemon
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2011-01-04 16:47 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=32544
--- Comment #10 from Michel Dänzer <michel@daenzer.net> 2011-01-04 08:47:51 PST ---
(In reply to comment #8)
> If there's no objections, I'll revert commit
> 88550083b3857184445075e70fed8b2eed4952a1 and apply the first attached patch.
So long as you make sure the resources allocated by gallivm_create and
lp_build_init are freed when appropriate. :)
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 32544] [r300g] LLVM support for software TLS implementation doesn't work
2010-12-21 7:20 [Bug 32544] New: [r300g] LLVM support for software TLS implementation doesn't work bugzilla-daemon
` (9 preceding siblings ...)
2011-01-04 16:47 ` bugzilla-daemon
@ 2011-01-24 10:54 ` bugzilla-daemon
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2011-01-24 10:54 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=32544
Michel Dänzer <michel@daenzer.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
--- Comment #11 from Michel Dänzer <michel@daenzer.net> 2011-01-24 02:54:12 PST ---
Jakob pushed a driver-independent solution in commit
4c73030d47f39441d718157f7d9a59c136bbfac0 ('draw: Init llvm if not provided').
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread