On Mon, 21 Aug 2023 at 07:51, Alper Nebi Yasak <[email protected]> wrote: > > From: Alexander Graf <[email protected]> > > 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 <[email protected]> > Reported-by: Da Xue <[email protected]> > [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 <[email protected]> > Signed-off-by: Alper Nebi Yasak <[email protected]> > --- > > 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 <[email protected]> Suggest dropping the change to the final file

