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
..
2016-01-29 15:07:23 +00:00
2016-05-19 16:42:29 +02:00
2016-06-14 15:59:14 +01:00
2016-01-29 15:07:22 +00:00
2017-06-02 05:54:43 +01:00
2017-12-18 17:07:02 +03:00
2016-05-19 16:42:29 +02:00
2016-06-14 15:59:14 +01:00
2016-06-16 18:39:03 +02:00
2018-06-08 13:15:32 +01:00
2016-01-29 15:07:22 +00:00
2018-06-01 14:15:10 +02:00
2017-06-02 05:54:43 +01:00
2016-05-19 16:42:29 +02:00