switch-coreboot/payloads
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
..
bayou UPSTREAM: bayou: delete pbuilder utility 2016-08-04 23:36:49 -07:00
coreinfo UPSTREAM: build system: don't run xcompile or git for %clean/%config targets 2017-01-26 18:43:51 -08:00
external UPSTREAM: tint: Add USB support 2017-03-20 17:33:14 -07:00
libpayload UPSTREAM: libpayload: cbgfx: Show square images on portrait displays 2017-04-17 22:50:24 -07:00
nvramcui UPSTREAM: nvramcui: Add USB support 2017-03-14 07:25:23 -07:00
Kconfig UPSTREAM: payloads: add Kconfig option for bayou 2016-08-14 15:11:13 -07:00
Makefile.inc UPSTREAM: tint: Fix tint and add Kconfig option 2016-06-28 17:17:08 -07:00