Let fbconsole cover only part of the screen.
Configurable via margin.{left,top,right,bottom} device parameters.
Signed-off-by: Philipp Zabel
---
drivers/video/fbconsole.c | 115 +-
1 file changed, 101 insertions(+), 14 deletions(-)
diff --git a/drivers/video/
Annotate framebuffer updates with damage rectangles so drivers may
implement partial updates for displays with an integrated framebuffer.
This can speed up fbconsole.
Signed-off-by: Philipp Zabel
---
v2: call fb_damage() in graphic_utils instead of fbconsole
---
lib/gui/graphic_utils.c | 16
Track framebuffer damage with a simple rectangle that can be used to
issue partial updates during fb_flush. This speeds up fbconsole.
Signed-off-by: Philipp Zabel
---
v2: make rect parameter to fb_damage const
---
drivers/video/mipi_dbi.c | 83 --
drivers/vi
Add an optional fb_damage operation that drivers may use to accumulate
damage on the framebuffer until fb_flush is called. The accumulated
damage can be used to support partial updates for displays with an
integrated framebuffer.
Signed-off-by: Philipp Zabel
---
v2: make rect parameter to fb_dama
On Mi, 2023-04-05 at 13:13 +0200, Sascha Hauer wrote:
> On Mon, Apr 03, 2023 at 02:18:43PM +0200, Philipp Zabel wrote:
[...]
> > + gu_screen_blit_area(priv->sc, rect.x1, rect.y1,
> > priv->font->width, priv->font->height);
> > + fb_damage(priv->fb, &rect);
>
> Does it make
On Di, 2023-04-04 at 14:24 +0200, Ahmad Fatoum wrote:
> On 03.04.23 14:18, Philipp Zabel wrote:
> > Add an optional fb_damage operation that drivers may use to accumulate
> > damage on the framebuffer until fb_flush is called. The accumulated
> > damage can be used to support partial updates for di
On Mon, Apr 03, 2023 at 02:18:43PM +0200, Philipp Zabel wrote:
> Annotate framebuffer updates with damage rectangles so drivers may
> implement partial updates for displays with an integrated framebuffer.
>
> Signed-off-by: Philipp Zabel
> ---
> drivers/video/fbconsole.c | 32 +++
Don't abort the console countdown in case of 'fastboot getvar' requests.
Most the time the host just want to query information but don't want to
abort the boot. Therefore skip the abort in case of getvar requests and
abort it in all other cases.
Suggested-by: Ahmad Fatoum
Signed-off-by: Marco Fel