mirror of
https://github.com/qemu/qemu.git
synced 2026-04-05 21:46:25 +00:00
hw/hppa: Disable Artist graphics card on 64-bit machines
The original Artist graphics used the GSC bus, was often installed in old 32-bit machines (e.g. 715) and can not be used on 64-bit machines. This is why this patch makes the artist driver dependend on the Lasi chip, which was never used in a 64-bit machine. Note that there exists a variant of Artist for the PCI-bus (Visualize-EG PCI). It has quite some differences in the registers, and would require that we write a PCI ROM for it, so that Linux and HP-UX would be able to use it. Instead, for now, users can simply use a standard VGA or ATI PCI graphics card on Linux. This can be enabled on the command line with "-device ati-vga" or "-device VGA". If the "-nographic" option is omitted, a PCI OCHI controller with USB keyboard and USB mouse will be added automatically. This fixes graphics support on 64-bit hppa machines and allows us to boot up a 64-bit Linux installation with VGA graphics. Signed-off-by: Helge Deller <deller@gmx.de> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20260330211859.19317-3-deller@kernel.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
committed by
Philippe Mathieu-Daudé
parent
508a870550
commit
6a0e2db073
@@ -384,7 +384,8 @@ static void machine_HP_common_init_tail(MachineState *machine, PCIBus *pci_bus,
|
||||
SysBusDevice *s;
|
||||
|
||||
/* Graphics setup. */
|
||||
if (machine->enable_graphics && vga_interface_type != VGA_NONE) {
|
||||
if (lasi_dev && machine->enable_graphics &&
|
||||
vga_interface_type != VGA_NONE) {
|
||||
dev = qdev_new("artist");
|
||||
s = SYS_BUS_DEVICE(dev);
|
||||
bool disabled = object_property_get_bool(OBJECT(dev), "disable", NULL);
|
||||
|
||||
Reference in New Issue
Block a user