[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 1/6] hw/loongarch: Remove vga device when loongarch init
From: |
Xiaojuan Yang |
Subject: |
[PATCH v1 1/6] hw/loongarch: Remove vga device when loongarch init |
Date: |
Thu, 11 Aug 2022 11:09:43 +0800 |
Remove the vga device when loongarch machine init and
we will support other display device in the future.
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
---
hw/loongarch/Kconfig | 1 -
hw/loongarch/virt.c | 3 ---
2 files changed, 4 deletions(-)
diff --git a/hw/loongarch/Kconfig b/hw/loongarch/Kconfig
index a99aa387c3..73c52b093e 100644
--- a/hw/loongarch/Kconfig
+++ b/hw/loongarch/Kconfig
@@ -2,7 +2,6 @@ config LOONGARCH_VIRT
bool
select PCI
select PCI_EXPRESS_GENERIC_BRIDGE
- imply VGA_PCI
imply VIRTIO_VGA
imply PCI_DEVICES
select ISA_BUS
diff --git a/hw/loongarch/virt.c b/hw/loongarch/virt.c
index 5cc0b05538..b56820ecda 100644
--- a/hw/loongarch/virt.c
+++ b/hw/loongarch/virt.c
@@ -378,9 +378,6 @@ static void loongarch_devices_init(DeviceState *pch_pic,
LoongArchMachineState *
pci_nic_init_nofail(nd, pci_bus, nd->model, NULL);
}
- /* VGA setup */
- pci_vga_init(pci_bus);
-
/*
* There are some invalid guest memory access.
* Create some unimplemented devices to emulate this.
--
2.31.1
- [PATCH v1 0/6] Add funtions for LoongArch virt machine, Xiaojuan Yang, 2022/08/10
- [PATCH v1 3/6] hw/loongarch: Add interrupt information to FDT table, Xiaojuan Yang, 2022/08/10
- [PATCH v1 1/6] hw/loongarch: Remove vga device when loongarch init,
Xiaojuan Yang <=
- [PATCH v1 6/6] hw/loongarch: Add RAMFB to dynamic_sysbus_devices list, Xiaojuan Yang, 2022/08/10
- [PATCH v1 2/6] hw/loongarch: Support fw_cfg dma function, Xiaojuan Yang, 2022/08/10
- [PATCH v1 4/6] hw/loongarch: Add platform bus support, Xiaojuan Yang, 2022/08/10
- [PATCH v1 5/6] hw/loongarch: Add hotplug handler for machine, Xiaojuan Yang, 2022/08/10