coreboot-kgpe-d16/payloads
Nicolas Boichat 564720f2c8 libpayload: cbgfx: Allow rotation of the display
Sometimes the display native orientation does not match the device
default orientation, so allow rotation of the framebuffer before
it is displayed on screen.

set_pixel now take coordinates in the rotated coordinate system,
and converts the coordinates before writing to the framebuffer.

Also, screen.size now matches the rotated system (_not_ the
framebuffer size).

BUG=b:132049716
TEST=Boot krane, see that FW screen is orientation properly.

Change-Id: If9316c0ce33c17057372ef5995a2c68de4f11f02
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34732
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Christian Walter <christian.walter@9elements.com>
2019-08-08 03:20:06 +00:00
..
bayou payloads: Remove/fix trailing whitespace 2018-09-04 12:38:40 +00:00
coreinfo payloads/coreinfo: Enable -Wmissing-prototypes 2019-07-07 20:21:09 +00:00
external payloads/external/Yabits: Pass XGCCPATH 2019-07-25 20:22:00 +00:00
libpayload libpayload: cbgfx: Allow rotation of the display 2019-08-08 03:20:06 +00:00
linuxcheck rampayload: Add the linuxcheck payload 2018-09-14 09:59:17 +00:00
nvramcui payloads: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-07 17:15:30 +00:00
Kconfig payload: Only display `FIT support` on ARM64 platforms 2019-03-28 06:38:02 +00:00
Makefile.inc payloads/external: Add yabits payload 2018-09-16 13:10:17 +00:00