mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 23:46:45 +00:00

It turns out that there are no platforms that have PCI but don't have an MMU, so adding a Kconfig dependency on CONFIG_PCI simplifies build testing kernels for those platforms a lot, and avoids a lot of inadvertent build regressions. Add a dependency for CONFIG_PCI and remove all the ones for PCI specific device drivers that are currently marked not having it. There are a few platforms that have an optional MMU, but they usually cannot have PCI at all. The one exception is Coldfire MCF54xx, but this is mainly for historic reasons, and anyone using those chips should really use the MMU these days. Link: https://lore.kernel.org/lkml/a41f1b20-a76c-43d8-8c36-f12744327a54@app.fastmail.com/ Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> # SCSI Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Alex Deucher <alexander.deucher@amd.com> Link: https://patch.msgid.link/20250423202215.3315550-1-arnd@kernel.org
20 lines
683 B
Plaintext
20 lines
683 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config DRM_GMA500
|
|
tristate "Intel GMA500/600/3600/3650 KMS Framebuffer"
|
|
depends on DRM && PCI && X86 && HAS_IOPORT
|
|
select DRM_CLIENT_SELECTION
|
|
select DRM_KMS_HELPER
|
|
select FB_IOMEM_HELPERS if DRM_FBDEV_EMULATION
|
|
select I2C
|
|
select I2C_ALGOBIT
|
|
# GMA500 depends on ACPI_VIDEO when ACPI is enabled, just like i915
|
|
select ACPI_VIDEO if ACPI
|
|
select BACKLIGHT_CLASS_DEVICE if ACPI
|
|
select INPUT if ACPI
|
|
select X86_PLATFORM_DEVICES if ACPI
|
|
select ACPI_WMI if ACPI
|
|
help
|
|
Say yes for an experimental 2D KMS framebuffer driver for the
|
|
Intel GMA500 (Poulsbo), Intel GMA600 (Moorestown/Oak Trail) and
|
|
Intel GMA3600/3650 (Cedar Trail).
|