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

          Priority: medium
            Bug ID: 66663
          Assignee: [email protected]
           Summary: broken on big-endian systems
        QA Contact: [email protected]
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: NEW
           Version: git
         Component: Driver/Radeon
           Product: xorg

Created attachment 82134
  --> https://bugs.freedesktop.org/attachment.cgi?id=82134&action=edit
patch

The current xf86-video-ati is broken on big-endian systems.  The problem is
that
RADEON_TILING_SURFACE isn't set on the front buffer since commits
ef9bfb262db7004bef3704e5d914687e50d3fca4 and
e5bd99faa3b6629a55168386d5dfa936ee4e97ae.

As a result the RADEON_TILING_SWAP_32BIT and RADEON_TILING_SWAP_16BIT flags
don't have any effect, and any direct access to the front buffer will not do
the necessary byte swapping.  The effect is blatantly obvious if you disable
acceleration (option NoAccel "on"), but also happens with (EXA) acceleration
enabled.  With acceleration disabled, the colors are all wrong.  With
acceleration enabled, the background of my xterms is yellow when it should be
white.

The attached patch fixes this, but might reintroduce problems with page
flipping as mentioned in https://bugs.freedesktop.org/show_bug.cgi?id=33738
(the bug report that seems to have triggered the removal of the
RADEON_TILING_SURFACE flag for the front buffer).  But only on big-endian
platforms.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
xorg-driver-ati mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-driver-ati

Reply via email to