]> git.proxmox.com Git - mirror_qemu.git/commit
hw/display/bcm2835_fb: Reset resolution, etc correctly
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 24 Aug 2018 12:17:49 +0000 (13:17 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 24 Aug 2018 12:17:49 +0000 (13:17 +0100)
commit9e2938a0fdb6d85d79c9d97b1fe4e626925be9b5
tree73181c35b174e0be5459e2411c5c469c95c8d1ca
parentea662f7cc8685622f393cdb7f7b7d243797a8af5
hw/display/bcm2835_fb: Reset resolution, etc correctly

The bcm2835_fb's initial resolution and other parameters are set
via QOM properties. We should reset to those initial values on
device reset, which means we need to save the QOM property
values somewhere that they are not overwritten by guest
changes to the framebuffer configuration.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180814144436.679-5-peter.maydell@linaro.org
hw/display/bcm2835_fb.c
include/hw/display/bcm2835_fb.h