Searched hist:"77 f512bde99ad1ebc88f094d18702fa9589c2206" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/gpu/drm/mcde/ |
H A D | mcde_display_regs.h | diff 77f512bde99ad1ebc88f094d18702fa9589c2206 Tue Nov 17 11:54:13 CST 2020 Linus Walleij <linus.walleij@linaro.org> drm/mcde: Fix RGB/BGR bug
I was confused when the graphics came out with blue penguins on the DPI panel.
It turns out that the so-called "packed RGB666" mode on the DSI formatter is incorrect: this mode is the actual RGB888 mode, and the mode called RGB888 is BGR888.
The claims that the MCDE had inverse RGB/BGR buffer formats was wrong, so correct this and the buggy register and everything is much more consistent, and graphics look good on all targets, both DPI and DSI.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Cc: phone-devel@vger.kernel.org Cc: Stephan Gerhold <stephan@gerhold.net> Link: https://patchwork.freedesktop.org/patch/msgid/20201117175413.869871-1-linus.walleij@linaro.org
|
H A D | mcde_display.c | diff 77f512bde99ad1ebc88f094d18702fa9589c2206 Tue Nov 17 11:54:13 CST 2020 Linus Walleij <linus.walleij@linaro.org> drm/mcde: Fix RGB/BGR bug
I was confused when the graphics came out with blue penguins on the DPI panel.
It turns out that the so-called "packed RGB666" mode on the DSI formatter is incorrect: this mode is the actual RGB888 mode, and the mode called RGB888 is BGR888.
The claims that the MCDE had inverse RGB/BGR buffer formats was wrong, so correct this and the buggy register and everything is much more consistent, and graphics look good on all targets, both DPI and DSI.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Cc: phone-devel@vger.kernel.org Cc: Stephan Gerhold <stephan@gerhold.net> Link: https://patchwork.freedesktop.org/patch/msgid/20201117175413.869871-1-linus.walleij@linaro.org
|