On Mon, 21 Aug 2023 at 07:51, Alper Nebi Yasak <alpernebiya...@gmail.com> wrote: > > From: Alexander Graf <ag...@csgraf.de> > > 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 <ag...@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 <alpernebiya...@gmail.com> > Signed-off-by: Alper Nebi Yasak <alpernebiya...@gmail.com> > --- > > Changes in v5: > - Use met->baseline instead of priv->baseline > - Use fontdata->height/width instead of VIDEO_FONT_HEIGHT/WIDTH > - Update console_rotate.c video_damage() calls to pass video tests > - Remove mention about not having minimal damage for console_rotate.c > > Changes in v2: > - Fix ranges in truetype target > - Limit rotate to necessary damage > > drivers/video/console_normal.c | 18 +++++++++++ > drivers/video/console_rotate.c | 54 ++++++++++++++++++++++++++++++++ > drivers/video/console_truetype.c | 21 +++++++++++++ > drivers/video/video-uclass.c | 1 + > 4 files changed, 94 insertions(+) >
Reviewed-by: Simon Glass <s...@chromium.org> Suggest dropping the change to the final file