[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 4/6] hw/riscv/virt: Connect a VGA PCIe device
From: |
Alistair Francis |
Subject: |
Re: [Qemu-devel] [PATCH v3 4/6] hw/riscv/virt: Connect a VGA PCIe device |
Date: |
Mon, 20 Aug 2018 16:50:20 -0700 |
On Thu, Aug 16, 2018 at 11:36 PM, Gerd Hoffmann <address@hidden> wrote:
> Hi,
>
>> + pci_bus = PCI_HOST_BRIDGE(dev)->bus;
>> +
>> + pci_vga_init(pci_bus);
>
> I'd suggest to use "-device bochs-display" instead, unless you need all
> the legacy vga cruft (text mode, ...). The bochs-drm kms driver can
> handle this one just fine too, it is much smaller (in terms of code
> lines and attack surface), and it has pcie support.
I gave this a quick try and the kernel didn't see the device with the
bochs-drm driver enabled.
I'll dig in a little more.
Alistair
>
> cheers,
> Gerd
>
- [Qemu-devel] [PATCH v3 0/6] Connect a PCIe host and graphics support to RISC-V, Alistair Francis, 2018/08/16
- [Qemu-devel] [PATCH v3 1/6] hw/riscv/virtio: Set the soc device tree node as a simple-bus, Alistair Francis, 2018/08/16
- [Qemu-devel] [PATCH v3 2/6] hw/riscv/virt: Increase the number of interrupts, Alistair Francis, 2018/08/16
- [Qemu-devel] [PATCH v3 3/6] hw/riscv/virt: Connect the gpex PCIe, Alistair Francis, 2018/08/16
- [Qemu-devel] [PATCH v3 4/6] hw/riscv/virt: Connect a VGA PCIe device, Alistair Francis, 2018/08/16
- [Qemu-devel] [PATCH v3 5/6] hw/riscv/sifive_u: Connect the Xilinx PCIe, Alistair Francis, 2018/08/16
- [Qemu-devel] [PATCH v3 6/6] hw/riscv/virt: Connect a VirtIO net PCIe device, Alistair Francis, 2018/08/16