vidconsole: Add damage notifications to all vidconsole drivers
authorAlexander Graf <agraf@csgraf.de>
Thu, 9 Jun 2022 22:59:17 +0000 (00:59 +0200)
committerSimon Glass <sjg@chromium.org>
Thu, 1 May 2025 10:30:53 +0000 (04:30 -0600)
commit17f0f77a593bfa2964990bdd5bdc02ecffc55a88
treea96e2f96ec09fcde06d79532a1e99493c2eadb85
parentb5ffd6bdb42748ca43d9fe6adc0d808cec3986dc
vidconsole: Add damage notifications to all vidconsole drivers

Now that we have a damage tracking API, let's populate damage done by
vidconsole drivers. We try to declare as little memory as damaged as
possible.

Signed-off-by: Alexander Graf <agraf@csgraf.de>
Reported-by: Da Xue <da@libre.computer>
[Alper: Rebase for met->baseline, fontdata->height/width, make rotated
        console_putc_xy() damages pass tests, edit patch message]
Co-developed-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Link: https://lore.kernel.org/u-boot/20230821135111.3558478-7-alpernebiyasak@gmail.com/
drivers/video/console_normal.c
drivers/video/console_rotate.c
drivers/video/console_truetype.c