[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v7 22/23] hw/display: make ATI_VGA depend on PIXMAN
From: |
marcandre . lureau |
Subject: |
[PATCH v7 22/23] hw/display: make ATI_VGA depend on PIXMAN |
Date: |
Mon, 30 Oct 2023 14:47:53 +0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
To avoid a kconfig cycle, change "depends on PCI" to "select PCI".
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: BALATON Zoltan <balaton@eik.bme.hu>
---
configs/devices/mips64el-softmmu/default.mak | 3 +--
hw/display/Kconfig | 3 ++-
hw/display/meson.build | 2 +-
hw/mips/Kconfig | 2 ++
4 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/configs/devices/mips64el-softmmu/default.mak
b/configs/devices/mips64el-softmmu/default.mak
index d5188f7ea5..4d80d60511 100644
--- a/configs/devices/mips64el-softmmu/default.mak
+++ b/configs/devices/mips64el-softmmu/default.mak
@@ -1,9 +1,8 @@
# Default configuration for mips64el-softmmu
include ../mips-softmmu/common.mak
-CONFIG_FULOONG=y
+#CONFIG_FULOONG=y
CONFIG_LOONGSON3V=y
-CONFIG_ATI_VGA=y
CONFIG_RTL8139_PCI=y
CONFIG_JAZZ=y
CONFIG_VT82C686=y
diff --git a/hw/display/Kconfig b/hw/display/Kconfig
index 1aafe1923d..8219225a1c 100644
--- a/hw/display/Kconfig
+++ b/hw/display/Kconfig
@@ -125,7 +125,8 @@ config DPCD
config ATI_VGA
bool
default y if PCI_DEVICES
- depends on PCI
+ depends on PIXMAN
+ select PCI
select VGA
select BITBANG_I2C
select DDC
diff --git a/hw/display/meson.build b/hw/display/meson.build
index 9c06aaee20..344dfe3d8c 100644
--- a/hw/display/meson.build
+++ b/hw/display/meson.build
@@ -62,7 +62,7 @@ system_ss.add(when: 'CONFIG_XLNX_DISPLAYPORT', if_true:
files('xlnx_dp.c'))
system_ss.add(when: 'CONFIG_ARTIST', if_true: files('artist.c'))
-system_ss.add(when: [pixman, 'CONFIG_ATI_VGA'], if_true: files('ati.c',
'ati_2d.c', 'ati_dbg.c'))
+system_ss.add(when: 'CONFIG_ATI_VGA', if_true: [files('ati.c', 'ati_2d.c',
'ati_dbg.c'), pixman])
if config_all_devices.has_key('CONFIG_VIRTIO_GPU')
diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig
index ac1eb06a51..48bb15fdd3 100644
--- a/hw/mips/Kconfig
+++ b/hw/mips/Kconfig
@@ -32,7 +32,9 @@ config JAZZ
config FULOONG
bool
+ default y if MIPS
select PCI_BONITO
+ depends on ATI_VGA
config LOONGSON3V
bool
--
2.41.0
- [PATCH v7 11/23] qmp/hmp: disable screendump if PIXMAN is missing, (continued)
- [PATCH v7 11/23] qmp/hmp: disable screendump if PIXMAN is missing, marcandre . lureau, 2023/10/30
- [PATCH v7 12/23] virtio-gpu: replace PIXMAN for region/rect test, marcandre . lureau, 2023/10/30
- [PATCH v7 13/23] ui/console: when PIXMAN is unavailable, don't draw placeholder msg, marcandre . lureau, 2023/10/30
- [PATCH v7 14/23] vhost-user-gpu: skip VHOST_USER_GPU_UPDATE when !PIXMAN, marcandre . lureau, 2023/10/30
- [PATCH v7 15/23] ui/gl: opengl doesn't require PIXMAN, marcandre . lureau, 2023/10/30
- [PATCH v7 16/23] ui/vnc: VNC requires PIXMAN, marcandre . lureau, 2023/10/30
- [PATCH v7 17/23] ui/spice: SPICE/QXL requires PIXMAN, marcandre . lureau, 2023/10/30
- [PATCH v7 18/23] ui/gtk: -display gtk requires PIXMAN, marcandre . lureau, 2023/10/30
- [PATCH v7 20/23] arm/kconfig: XLNX_ZYNQMP_ARM depends on PIXMAN, marcandre . lureau, 2023/10/30
- [PATCH v7 19/23] ui/dbus: do not require PIXMAN, marcandre . lureau, 2023/10/30
- [PATCH v7 22/23] hw/display: make ATI_VGA depend on PIXMAN,
marcandre . lureau <=
- [PATCH v7 21/23] hw/sm501: allow compiling without PIXMAN, marcandre . lureau, 2023/10/30
- [PATCH v7 23/23] build-sys: make pixman actually optional, marcandre . lureau, 2023/10/30