[Mesa-dev] [Bug 108312] Failed to allocate buffer on big endian machine - buffer size not byte swapped

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 10 07:57:00 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=108312

            Bug ID: 108312
           Summary: Failed to allocate buffer on big endian machine -
                    buffer size not byte swapped
           Product: Mesa
           Version: 18.2
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Gallium/StateTracker/Clover
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: bas at daedalean.ai
        QA Contact: mesa-dev at lists.freedesktop.org

Some changes between 18.0.5 and 18.2.0 caused my big endian PowerPC to no
longer be able to allocate buffers using OpenCL. radeon complains about failing
to allocate a buffer of 2686976000 bytes where I allocate 10400 bytes. The size
of the buffer seems to not be byte swapped.

I will try to pin down the commit that caused this and create a patch to fix
it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181010/1592d8a2/attachment-0001.html>


More information about the mesa-dev mailing list