]> git.proxmox.com Git - mirror_qemu.git/commit
hw/display/bcm2835_fb: Validate bcm2835_fb_mbox_push() config
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 24 Aug 2018 12:17:50 +0000 (13:17 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 24 Aug 2018 12:17:50 +0000 (13:17 +0100)
commitcfb7ba983857e40e88bd3219aaab908862581ac0
treefc3ec94b9c2d3deedd701319379269fa5d846a30
parentf8add62c0c8826ca0fa90e6e3a80b810f63fe1dd
hw/display/bcm2835_fb: Validate bcm2835_fb_mbox_push() config

Refactor bcm2835_fb_mbox_push() to work by calling
bcm2835_fb_validate_config() and bcm2835_fb_reconfigure(),
so that config set this way is also validated.

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