[Bug 107012] [PATCH] Radeon SI driver not architecture safe, crashes on ppc64[el]

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jun 23 21:34:48 UTC 2018


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

            Bug ID: 107012
           Summary: [PATCH] Radeon SI driver not architecture safe,
                    crashes on ppc64[el]
           Product: Mesa
           Version: git
          Hardware: PowerPC
                OS: All
            Status: NEW
          Severity: major
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: tpearson at raptorengineering.com
        QA Contact: dri-devel at lists.freedesktop.org

Created attachment 140294
  --> https://bugs.freedesktop.org/attachment.cgi?id=140294&action=edit
Fix crashes

color_interp_vgpr_index was declared as a generic char value.  Because signed
values are used in this variable, the result was not safe across architectures
and crashed on ppc64[el] and arm systems.

The atttached patch declares color_interp_vgpr_index as a signed type, and has
been verified to work with alien-arena, glxgears, and Flightgear, all of which
were crashing before the patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180623/841279b2/attachment.html>


More information about the dri-devel mailing list