coreboot-kgpe-d16/payloads/libpayload/drivers/video
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
..
bitmap.h Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
corebootfb.c libpayload: video: Add support for font scaling with a factor 2017-08-03 20:37:07 +00:00
font.c libpayload: video: Add support for font scaling with a factor 2017-08-03 20:37:07 +00:00
font.h libpayload: Use a static copy of `font_glyph_filled()` 2017-08-10 12:07:13 +00:00
font8x16.c Document all of the external code we use in libpayload (trivial). 2008-08-11 20:34:50 +00:00
font8x16.h Various small consistency fixes (trivial): 2008-04-11 18:01:50 +00:00
geodelx.c libpayload: video: Add support for font scaling with a factor 2017-08-03 20:37:07 +00:00
graphics.c libpayload: cbgfx: Allow rotation of the display 2019-08-08 03:20:06 +00:00
vga.c Add coreboot framebuffer support to libpayload 2010-03-25 18:56:26 +00:00
video.c payloads: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-07 17:15:30 +00:00