Files
u-boot/test/dm
Simon Glass 9beb364a28 video: Adjust rotated console to start at right edge
At present when the console is rotated 180 degrees it starts almost a
whole character to the left of the right edge (typically 7 pixels with
an 8-pixel-wide font). On a display which aligns with the font width,
this just wastes space. On a display that does not this can result in
x_frac going negative for the final character (the one on the left
side) and the overflow -EAGAIN check at the start of the function
failing.

Change the function to start at the rightmost pixel to fix these
problems.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
2020-07-09 12:33:24 +08:00
..
2019-07-12 21:07:58 -04:00
2020-05-18 17:33:33 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2019-10-13 23:34:43 +02:00
2018-12-06 23:26:32 -05:00
2018-12-13 16:32:49 -07:00
2020-07-01 15:01:21 +08:00
2020-07-01 15:01:21 +08:00
2020-05-18 21:19:18 -04:00
2020-05-18 17:33:33 -04:00
2019-07-05 14:19:41 +02:00
2020-05-18 21:19:18 -04:00
2018-10-09 04:40:27 -06:00
2019-02-20 15:27:08 +08:00
2019-07-11 10:05:15 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-06-01 17:55:24 +05:30
2018-07-19 17:03:28 -04:00
2020-02-05 19:33:46 -07:00
2020-07-01 15:01:21 +08:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00