summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSylvain Garrigues2016-05-12 14:22:25 +0200
committerPeter Maydell2016-05-12 14:22:25 +0200
commit27a5dc7be6a55b60039e39206eed2734ea166a47 (patch)
tree24ece303a4ffd4823d1aefed3d4dee1c3b807606 /include
parenthw/intc: QOM'ify omap_intc.c (diff)
downloadqemu-27a5dc7be6a55b60039e39206eed2734ea166a47.tar.gz
qemu-27a5dc7be6a55b60039e39206eed2734ea166a47.tar.xz
qemu-27a5dc7be6a55b60039e39206eed2734ea166a47.zip
bcm2835_property: use cached values when querying framebuffer
As the framebuffer settings are copied into the result message before it is reconfigured, inconsistent behavior can happen when, for instance, you set with a single message the width, height, and depth, and ask at the same time to allocate the buffer and get the pitch and the size. In this case, the reported pitch and size would be incorrect as they were computed with the initial values of width, height and depth, not the ones the client requested. Signed-off-by: Sylvain Garrigues <sylvain@sylvaingarrigues.com> Reviewed-by: Andrew Baumann <Andrew.Baumann@microsoft.com> Message-id: 1461325343-24995-1-git-send-email-sylvain@sylvaingarrigues.com [PMM: folded a couple of long lines] Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions