qemu-e2k/hw/misc
Sylvain Garrigues 27a5dc7be6 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>
2016-05-12 13:22:25 +01:00
..
macio cuda: fix off-by-one error in SET_TIME command 2016-04-19 11:39:23 +10:00
Makefile.objs hw/mips: implement ITC Configuration Tags and Storage Cells 2016-03-30 09:14:00 +01:00
a9scu.c
applesmc.c
arm11scu.c
arm_integrator_debug.c
arm_l2x0.c
arm_sysctl.c Replaced get_tick_per_sec() by NANOSECONDS_PER_SECOND 2016-03-22 22:20:17 +01:00
bcm2835_mbox.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
bcm2835_property.c bcm2835_property: use cached values when querying framebuffer 2016-05-12 13:22:25 +01:00
cbus.c include/hw/hw.h: Don't include qemu-common.h 2016-03-22 22:20:16 +01:00
debugexit.c
eccmemctl.c
edu.c qom: Swap 'name' next to visitor in ObjectPropertyAccessor 2016-02-08 17:29:56 +01:00
exynos4210_pmu.c
hyperv_testdev.c
imx6_ccm.c i.MX: Add i.MX6 CCM and ANALOG device. 2016-03-16 17:42:18 +00:00
imx25_ccm.c i.MX: Add the CLK_IPG_HIGH clock 2016-03-16 17:42:18 +00:00
imx31_ccm.c i.MX: Add the CLK_IPG_HIGH clock 2016-03-16 17:42:18 +00:00
imx_ccm.c
ivshmem.c ivshmem: fix ivshmem-{plain,doorbell} crash without arg 2016-04-13 12:01:47 +02:00
max111x.c
milkymist-hpdmc.c
milkymist-pfpu.c
mips_cmgcr.c hw/mips/cps: create CPC block inside CPS 2016-03-30 09:13:59 +01:00
mips_cpc.c hw/mips: add initial Cluster Power Controller support 2016-03-30 09:13:59 +01:00
mips_itu.c hw/mips_itu: fix off-by-one reported by Coverity 2016-04-08 09:19:26 +01:00
mst_fpga.c
omap_clk.c
omap_gpmc.c
omap_l4.c
omap_sdrc.c
omap_tap.c
pc-testdev.c
pci-testdev.c pci-testdev: fast mmio support 2016-04-07 19:57:33 +03:00
puv3_pm.c
pvpanic.c
sga.c
slavio_misc.c
stm32f2xx_syscfg.c
tmp105.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
tmp105.h
vmport.c
zynq-xadc.c
zynq_slcr.c