On Tue, 3 Jan 2023 at 14:50, Alexander Graf <ag...@csgraf.de> wrote: > > 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, with the exception of rotated screens that I couldn't get my > head wrapped around. On those, we revert to the old behavior and mark > the full screen as damaged on every update. > > Signed-off-by: Alexander Graf <ag...@csgraf.de> > Reported-by: Da Xue <da@libre.computer> > > --- > > v1 -> v2: > > - Fix ranges in truetype target > - Limit rotate to necessary damange > --- > drivers/video/console_normal.c | 10 ++++++ > drivers/video/console_rotate.c | 54 ++++++++++++++++++++++++++++++++ > drivers/video/console_truetype.c | 15 +++++++++ > 3 files changed, 79 insertions(+) >
Reviewed-by: Simon Glass <s...@chromium.org>