Helge Deller
c7050f3f16
hw/display/artist: Refactor x/y coordination extraction
...
Simplify the code by using new introduced ADDR_TO_Y() and ADDR_TO_X()
macros. Those macros extract the x/y-coordinate from the given uint32.
As further simplification the extraction of the x/y coordinates for
VRAM_WRITE_INCR_Y and VRAM_WRITE_INCR_X can be done centrally in
vram_bit_write(), so move this code up into the function.
ADDR_TO_Y() is still limited to 10 bits which allow to address up to of
1024 lines - this will be increased in a follow-up patch.
Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
2020-09-03 17:30:04 +02:00
..
2020-08-24 16:39:53 +01:00
2020-08-21 06:30:32 -04:00
2020-08-21 06:30:32 -04:00
2020-08-21 06:30:33 -04:00
2020-08-24 10:02:06 +01:00
2020-08-21 06:30:32 -04:00
2020-08-21 06:30:33 -04:00
2020-08-21 06:30:32 -04:00
2020-08-21 06:30:32 -04:00
2020-08-22 14:37:31 +01:00
2020-08-24 10:01:40 +01:00
2020-08-21 06:30:33 -04:00
2020-09-03 17:30:04 +02:00
2020-08-21 06:30:31 -04:00
2020-08-21 06:30:31 -04:00
2020-09-02 23:16:52 +02:00
2020-08-21 06:30:31 -04:00
2020-08-21 06:30:30 -04:00
2020-08-22 14:37:31 +01:00
2020-08-21 06:30:30 -04:00
2020-08-21 06:30:30 -04:00
2020-08-24 09:35:21 +01:00
2020-08-21 06:30:30 -04:00
2020-08-21 06:30:29 -04:00
2020-08-21 06:30:29 -04:00
2020-08-21 16:22:43 +02:00
2020-08-21 06:30:33 -04:00
2020-08-21 06:30:26 -04:00
2020-08-21 06:30:33 -04:00
2020-08-21 06:30:33 -04:00
2020-08-21 06:30:29 -04:00
2020-08-21 06:30:33 -04:00
2020-08-21 06:30:29 -04:00
2020-08-21 06:30:33 -04:00
2020-08-21 06:30:25 -04:00
2020-08-24 09:35:21 +01:00
2020-08-21 06:30:33 -04:00
2020-08-21 06:30:28 -04:00
2020-08-21 06:30:28 -04:00
2020-08-21 06:30:28 -04:00
2020-08-21 06:30:28 -04:00
2020-08-24 09:35:21 +01:00
2020-08-21 06:30:29 -04:00
2020-08-25 09:11:35 -07:00
2020-08-21 06:30:27 -04:00
2020-08-21 06:30:33 -04:00
2020-08-27 12:37:03 +02:00
2020-08-21 06:30:28 -04:00
2020-08-21 16:49:22 +02:00
2020-08-21 06:30:25 -04:00
2020-08-21 06:30:33 -04:00
2020-08-21 06:30:25 -04:00
2020-08-24 09:35:21 +01:00
2020-08-24 09:35:21 +01:00
2020-08-21 06:30:27 -04:00
2020-08-21 06:30:27 -04:00
2020-08-21 06:30:27 -04:00
2020-08-21 06:30:33 -04:00
2020-08-21 06:30:33 -04:00
2020-08-21 06:30:26 -04:00
2020-08-27 12:37:03 +02:00
2020-08-21 06:30:26 -04:00
2020-08-21 06:30:26 -04:00
2020-08-21 06:30:24 -04:00
2020-08-21 06:30:33 -04:00
2020-08-21 12:48:14 -07:00
2020-07-11 11:02:05 +02:00
2020-08-21 06:30:33 -04:00