Peter Maydell 9a1f03f4ee hw/display/bcm2835_fb: Abstract out calculation of pitch, size
Abstract out the calculation of the pitch and size of the
framebuffer into functions that operate on the BCM2835FBConfig
struct -- these are about to get a little more complicated
when we add support for virtual and physical sizes differing.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180814144436.679-6-peter.maydell@linaro.org
2018-08-24 13:17:49 +01:00
..
2018-07-02 19:07:19 +01:00
2017-03-27 12:14:45 +02:00
2017-05-10 10:19:24 +03:00
2016-01-29 15:07:24 +00:00
2018-05-07 11:47:57 +02:00
2018-08-21 09:51:40 +02:00
2018-08-21 09:51:40 +02:00
2018-07-02 17:21:52 +02:00
2017-04-24 12:32:12 +01:00
2016-09-22 18:13:08 +01:00