* [Bug 105950] radeonsi: OpenCL not working correctly on a big endian machine
@ 2018-04-09 10:52 bugzilla-daemon
2018-04-09 11:16 ` bugzilla-daemon
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: bugzilla-daemon @ 2018-04-09 10:52 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1202 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=105950
Bug ID: 105950
Summary: radeonsi: OpenCL not working correctly on a big endian
machine
Product: Mesa
Version: 17.3
Hardware: PowerPC
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: dri-devel@lists.freedesktop.org
Reporter: bas@daedalean.ai
QA Contact: dri-devel@lists.freedesktop.org
Running any OpenCL program on a big endian machine using a radeonsi card fails.
- union si_vgt_param_key uses a bitfield shared with a 32 bit value. This
causes the index to be wrong on a big endian machine, and crashes any OpenCL
program with a segfault.
- si_setup_user_sgprs_co_v2 in si_compute.c fills a dispatch_packet struct with
values which are uploaded to the GPU. To ensure this works correctly, these
values need to be converted to little endian.
I'll send patches to the mesa-dev list for both these issues.
Bas Vermeulen
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2568 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 105950] radeonsi: OpenCL not working correctly on a big endian machine
2018-04-09 10:52 [Bug 105950] radeonsi: OpenCL not working correctly on a big endian machine bugzilla-daemon
@ 2018-04-09 11:16 ` bugzilla-daemon
2018-04-09 11:17 ` bugzilla-daemon
2018-09-09 22:43 ` bugzilla-daemon
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2018-04-09 11:16 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 330 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=105950
--- Comment #1 from Bas Vermeulen <bas@daedalean.ai> ---
Created attachment 138697
--> https://bugs.freedesktop.org/attachment.cgi?id=138697&action=edit
Patch for si_vgt_param_key endian fix
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1389 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 105950] radeonsi: OpenCL not working correctly on a big endian machine
2018-04-09 10:52 [Bug 105950] radeonsi: OpenCL not working correctly on a big endian machine bugzilla-daemon
2018-04-09 11:16 ` bugzilla-daemon
@ 2018-04-09 11:17 ` bugzilla-daemon
2018-09-09 22:43 ` bugzilla-daemon
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2018-04-09 11:17 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 333 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=105950
--- Comment #2 from Bas Vermeulen <bas@daedalean.ai> ---
Created attachment 138698
--> https://bugs.freedesktop.org/attachment.cgi?id=138698&action=edit
Patch for dispatch_packet endianness fix
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1398 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 105950] radeonsi: OpenCL not working correctly on a big endian machine
2018-04-09 10:52 [Bug 105950] radeonsi: OpenCL not working correctly on a big endian machine bugzilla-daemon
2018-04-09 11:16 ` bugzilla-daemon
2018-04-09 11:17 ` bugzilla-daemon
@ 2018-09-09 22:43 ` bugzilla-daemon
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2018-09-09 22:43 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 548 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=105950
Timothy Arceri <t_arceri@yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #3 from Timothy Arceri <t_arceri@yahoo.com.au> ---
These patches were committed. Closing as fixed.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2095 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-09-09 22:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-09 10:52 [Bug 105950] radeonsi: OpenCL not working correctly on a big endian machine bugzilla-daemon
2018-04-09 11:16 ` bugzilla-daemon
2018-04-09 11:17 ` bugzilla-daemon
2018-09-09 22:43 ` 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.