framebuffer: red and blue are swapped on devices using MSM8974
I noticed that when using the framebuffer display with wayland on weston or plasma-mobile, the red and blue colors are swapped.
The problem has been found in the following devices, all sharing the MSM8974 SoC:
- oneplus-bacon, reported by @Nimayer
- samsung-klte, reported by @minlexx
- fairphone-fp2, reported by @z3ntu
Edit: The problem has been solved
Apparently the problem was due to an inverted byte order of the pixel format in the framebuffer driver.
Problem has been fixed with:
- !287 (merged) for oneplus-bacon
- !291 (merged) for samsung-klte
- !292 (merged) for fairphone-fp2
Here is an example picture of the problem
Edited by Administrator