]> git.proxmox.com Git - mirror_qemu.git/commit - hw/display/artist.c
hw/display/artist: Verify artist screen resolution
authorHelge Deller <deller@gmx.de>
Thu, 3 Sep 2020 05:09:31 +0000 (07:09 +0200)
committerHelge Deller <deller@gmx.de>
Thu, 3 Sep 2020 15:30:04 +0000 (17:30 +0200)
commit95aad497d9f1cc96b6913e61c95fca116af69b93
tree3727287d7a887e4b1b70de4fd12f7731d3e01bfd
parent3b65b742543bc6c2ad35e3b42401a26b48a87f26
hw/display/artist: Verify artist screen resolution

Artist hardware is limited to 2048 x 2048 pixels.
STI ROMs allow at minimum 640 x 480 pixels.

Qemu users can adjust the screen size on the command line with:
 -global artist.width=800 -global artist.height=600
but we need to ensure that the screen size stays inside the given
boundaries, otherwise print an error message and adjust.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
hw/display/artist.c