public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] video: vidconsole: avoid multiple lines overwrite logo
@ 2020-06-10  9:52 Ye Li
  2020-06-10  9:52 ` [PATCH] splash: Fix build warning on 64 bits CPU Ye Li
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Ye Li @ 2020-06-10  9:52 UTC (permalink / raw)
  To: u-boot

Fix the bug that multiple lines wraps to overwrite logo bmp
display.

Signed-off-by: Ye Li <ye.li@nxp.com>
---
 drivers/video/vidconsole-uclass.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/video/vidconsole-uclass.c b/drivers/video/vidconsole-uclass.c
index d30e6db..9b76154 100644
--- a/drivers/video/vidconsole-uclass.c
+++ b/drivers/video/vidconsole-uclass.c
@@ -622,6 +622,7 @@ void vidconsole_position_cursor(struct udevice *dev, unsigned col, unsigned row)
 	col *= priv->x_charsize;
 	row *= priv->y_charsize;
 	priv->xcur_frac = VID_TO_POS(min_t(short, col, vid_priv->xsize - 1));
+	priv->xstart_frac = priv->xcur_frac;
 	priv->ycur = min_t(short, row, vid_priv->ysize - 1);
 }
 
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-06-29  7:05 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-10  9:52 [PATCH] video: vidconsole: avoid multiple lines overwrite logo Ye Li
2020-06-10  9:52 ` [PATCH] splash: Fix build warning on 64 bits CPU Ye Li
2020-06-17  7:09   ` Jagan Teki
2020-06-29  7:05   ` Anatolij Gustschin
2020-06-10  9:52 ` [PATCH] video: bmp: Support 8bits BMP to 24/32 bits display Ye Li
2020-06-17  7:10   ` Jagan Teki
2020-06-18 21:04   ` Fabio Estevam
2020-06-23 11:51     ` Anatolij Gustschin
2020-06-27 22:59   ` [PATCH v2] video: bmp: support 8bits BMP drawing on 24/32 bpp framebuffer Anatolij Gustschin
2020-06-29  7:04     ` Anatolij Gustschin
2020-06-17  7:11 ` [PATCH] video: vidconsole: avoid multiple lines overwrite logo Jagan Teki
2020-06-29  7:04 ` Anatolij Gustschin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox