Skip to content

Fix AST2500 graphics on ppc64 systems in big-endian mode

Timothy Pearson dri-devel linuxppc-dev 1 version In review

Get series with b4
b4 am 407388289.1798972.1760725035958.JavaMail.zimbra@raptorengineeringinc.com

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PCI: Add CONFIG_PCI_ARCH_ENDIAN_AUTOSWAParch/powerpc/Kconfig drivers/pci/Kconfig+5 -01 reply
2/2drm/ast: Fix framebuffer color swapping on ppc64 systemsdrivers/gpu/drm/ast/ast_mode.c+31 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Fix AST2500 graphics on ppc64 systems in big-endian mode

On ppc64 systems that use the AST2500 graphics device, such as the Blackbird POWER9 system, the red and blue channels are inverted when the host is running in big endian mode. This is due to a ppc64 hardware quirk, which when combined with a hardware design fault in the AST2500 VGA controller results in a need to use software-based red-blue channel swapping.

Tested to fix color graphics on Debian sid/ppc64 on a Blackbird system.

Timothy Pearson (2):
PCI: Add CONFIG_PCI_ARCH_ENDIAN_AUTOSWAP drm/ast: Fix framebuffer color swapping on ppc64 systems

 arch/powerpc/Kconfig           |  1 +
 drivers/gpu/drm/ast/ast_mode.c | 33 +++++++++++++++++++++++++++++++--
 drivers/pci/Kconfig            |  4 ++++
 3 files changed, 36 insertions(+), 2 deletions(-)
Signature · 1 line
2.51.0