diff options
| author | Peter Maydell | 2018-08-24 14:17:49 +0200 |
|---|---|---|
| committer | Peter Maydell | 2018-08-24 14:17:49 +0200 |
| commit | 9a1f03f4ee207d58674fc76aecff546551c9da76 (patch) | |
| tree | ec8844310f2c010aa86f10163ead9634ba23de3d /scripts/checkpatch.pl | |
| parent | hw/display/bcm2835_fb: Reset resolution, etc correctly (diff) | |
| download | qemu-9a1f03f4ee207d58674fc76aecff546551c9da76.tar.gz qemu-9a1f03f4ee207d58674fc76aecff546551c9da76.tar.xz qemu-9a1f03f4ee207d58674fc76aecff546551c9da76.zip | |
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
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
