* [Bug 82671] New: [r600g-evergreen][compute]Empty kernel execution causes crash
@ 2014-08-15 17:57 bugzilla-daemon
2014-08-19 23:34 ` [Bug 82671] " bugzilla-daemon
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: bugzilla-daemon @ 2014-08-15 17:57 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1695 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=82671
Priority: medium
Bug ID: 82671
Assignee: dri-devel@lists.freedesktop.org
Summary: [r600g-evergreen][compute]Empty kernel execution
causes crash
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: damien.hilloulin@supelec.fr
Hardware: All
Status: NEW
Version: git
Component: Drivers/Gallium/r600
Product: Mesa
Created attachment 104687
--> https://bugs.freedesktop.org/attachment.cgi?id=104687&action=edit
Bug repro program source file
I gave a shot to opencl support on my evergreen card (cedar) with mesa git.
I noticed that with an empty kernel the program crash with:
evergreen_state.c:1827:evergreen_emit_vertex_buffers: Assertion `rbuffer'
failed.
I made a little debugging and I think that this is du to a bug in
evergreen_init_compute_state_functions from evergreen_compute.c .
The two concerned lines are
/* We always use at least one vertex buffer for parameters (id = 1)*/
ctx->cs_vertex_buffer_state.enabled_mask =
ctx->cs_vertex_buffer_state.dirty_mask = 0x2;
With an empty kernel there is in fact no vertex buffer used as far as I can
see.
By changing the two lines to
ctx->cs_vertex_buffer_state.enabled_mask =
ctx->cs_vertex_buffer_state.dirty_mask = 0x0;
It doesn't crash for me anymore.
However I am a total driver development noob so my interpretation (and
therefore fix) can be wrong.
You can find attacted the very small program to be able to cause the crash.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 3155 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 82671] [r600g-evergreen][compute]Empty kernel execution causes crash
2014-08-15 17:57 [Bug 82671] New: [r600g-evergreen][compute]Empty kernel execution causes crash bugzilla-daemon
@ 2014-08-19 23:34 ` bugzilla-daemon
2014-08-20 15:31 ` bugzilla-daemon
2014-08-21 14:08 ` bugzilla-daemon
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2014-08-19 23:34 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 313 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=82671
--- Comment #1 from Tom Stellard <tstellar@gmail.com> ---
Created attachment 104927
--> https://bugs.freedesktop.org/attachment.cgi?id=104927&action=edit
Fix
Can you try this patch?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1293 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 82671] [r600g-evergreen][compute]Empty kernel execution causes crash
2014-08-15 17:57 [Bug 82671] New: [r600g-evergreen][compute]Empty kernel execution causes crash bugzilla-daemon
2014-08-19 23:34 ` [Bug 82671] " bugzilla-daemon
@ 2014-08-20 15:31 ` bugzilla-daemon
2014-08-21 14:08 ` bugzilla-daemon
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2014-08-20 15:31 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 263 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=82671
--- Comment #2 from Damien Hilloulin <damien.hilloulin@supelec.fr> ---
Fix the bug for me :)
Thank you for giving a look at this bug!
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1072 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 82671] [r600g-evergreen][compute]Empty kernel execution causes crash
2014-08-15 17:57 [Bug 82671] New: [r600g-evergreen][compute]Empty kernel execution causes crash bugzilla-daemon
2014-08-19 23:34 ` [Bug 82671] " bugzilla-daemon
2014-08-20 15:31 ` bugzilla-daemon
@ 2014-08-21 14:08 ` bugzilla-daemon
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2014-08-21 14:08 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 544 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=82671
Tom Stellard <tstellar@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Tom Stellard <tstellar@gmail.com> ---
Fixed in git commit commit bf7a60f41d897be4d9804ba7c46633e38501ffe7
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2039 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-08-21 14:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-15 17:57 [Bug 82671] New: [r600g-evergreen][compute]Empty kernel execution causes crash bugzilla-daemon
2014-08-19 23:34 ` [Bug 82671] " bugzilla-daemon
2014-08-20 15:31 ` bugzilla-daemon
2014-08-21 14:08 ` bugzilla-daemon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.