summary refs log tree commit diff stats
path: root/scripts/qapi-event.py
diff options
context:
space:
mode:
authorSylvain Garrigues <sylvain@sylvaingarrigues.com>2016-05-12 13:22:25 +0100
committerPeter Maydell <peter.maydell@linaro.org>2016-05-12 13:22:25 +0100
commit27a5dc7be6a55b60039e39206eed2734ea166a47 (patch)
tree24ece303a4ffd4823d1aefed3d4dee1c3b807606 /scripts/qapi-event.py
parent0a750e2a787b78ea49d2570cdf342c64ee79933d (diff)
downloadfocaccia-qemu-27a5dc7be6a55b60039e39206eed2734ea166a47.tar.gz
focaccia-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 'scripts/qapi-event.py')
0 files changed, 0 insertions, 0 deletions