coreboot/payloads/libpayload/drivers
Julius Werner c1fe06a2b4 UPSTREAM: libpayload: cbgfx: Show square images on portrait displays
CBGFX currently doesn't support portrait screens at all. This will have
to be fixed eventually but might take a bit of effort. As a first step
to make devices with a portrait panel somewhat usable, this patch will
just force a square canvas on these panels and keep the bottom part of
the screen black.

Also switch set_pixel to calculate framebuffer position via
bytes_per_line instead of x_resolution. This is supposed to be the
canonical way to do that and may differ in cases where the display
controller requires a certain alignment from framebuffer lines.

BRANCH=none
BUG=b:35774871
TEST=Boot Rowan in developer mode and see output on the
   panel; below the developer screen square is completely black

Change-Id: I5e5423e5fe166b1fea54ab16f7e0dd31fcce00d7
Original-Change-Id: I47dd3bf95ab8a7d8b7e1913e0ddab346eedd46f1
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/479613
Commit-Ready: Daniel Kurtz <djkurtz@chromium.org>
Tested-by: Daniel Kurtz <djkurtz@chromium.org>
2017-04-17 22:50:24 -07:00
..
serial libpayload: ipq40xx: Introduce timer and uart driver 2016-05-09 08:53:24 +02:00
storage UPSTREAM: libpayload: Add Cougar Point PCH's AHCI to whitelist 2016-12-08 22:46:50 -08:00
timer various cleanups from upstream 2017-02-06 05:03:19 -08:00
udc UPSTREAM: Remove extra newlines from the end of all coreboot files. 2016-08-04 23:36:56 -07:00
usb UPSTREAM: libpayload: usbhub: Force enumeration of all connected ports on init 2017-03-16 11:25:32 -07:00
video UPSTREAM: libpayload: cbgfx: Show square images on portrait displays 2017-04-17 22:50:24 -07:00
cbmem_console.c libpayload: console: Allow output drivers to print whole strings at once 2014-12-22 21:44:37 +01:00
hid.c Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
keyboard.c 8042 keyboard: power button processing 2017-01-18 16:06:42 -08:00
Makefile.inc UPSTREAM: libpayload: mvmap2315: Introduce timer driver 2016-10-11 14:32:38 -07:00
nvram.c libpayload: Make Kconfig bools use IS_ENABLED() 2015-06-30 18:55:15 +02:00
options.c libpayload/options: Fix out of array read. 2014-01-19 11:51:23 +01:00
pci.c Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
speaker.c Fix libpayload speaker driver 2011-10-27 10:49:41 +02:00