From 244b2c5ca8b14627e4a17755e5922221e121c771 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Wed, 09 Oct 2024 06:15:07 +0000 Subject: [PATCH] change system file --- kernel/init/Kconfig.gki | 136 +++++++++++++++++++++++++++++++++++++++------ 1 files changed, 117 insertions(+), 19 deletions(-) diff --git a/kernel/init/Kconfig.gki b/kernel/init/Kconfig.gki index 6d0c4fd..1a4fde6 100644 --- a/kernel/init/Kconfig.gki +++ b/kernel/init/Kconfig.gki @@ -1,10 +1,14 @@ config GKI_HIDDEN_DRM_CONFIGS bool "Hidden DRM configs needed for GKI" select DRM_KMS_HELPER if (HAS_IOMEM && DRM) + select DRM_GEM_SHMEM_HELPER if (DRM) select DRM_GEM_CMA_HELPER + select DRM_KMS_CMA_HELPER select DRM_MIPI_DSI select DRM_TTM if (HAS_IOMEM && DRM) select VIDEOMODE_HELPERS + select WANT_DEV_COREDUMP + select INTERVAL_TREE help Dummy config option used to enable hidden DRM configs. These are normally selected implicitly when including a @@ -13,6 +17,7 @@ config GKI_HIDDEN_REGMAP_CONFIGS bool "Hidden Regmap configs needed for GKI" select REGMAP_IRQ + select REGMAP_MMIO help Dummy config option used to enable hidden regmap configs. These are normally selected implicitly when a module @@ -32,6 +37,7 @@ select SND_PCM_ELD select SND_JACK select SND_JACK_INPUT_DEV + select SND_INTEL_NHLT if (ACPI) help Dummy config option used to enable hidden SND configs. These are normally selected implicitly when a module @@ -40,9 +46,21 @@ config GKI_HIDDEN_SND_SOC_CONFIGS bool "Hidden SND_SOC configs needed for GKI" select SND_SOC_GENERIC_DMAENGINE_PCM if (SND_SOC && SND) + select SND_PCM_IEC958 select SND_SOC_COMPRESS if (SND_SOC && SND) + select SND_SOC_TOPOLOGY if (SND_SOC && SND) + select DMADEVICES + select DMA_VIRTUAL_CHANNELS help Dummy config option used to enable hidden SND_SOC configs. + These are normally selected implicitly when a module + that relies on it is configured. + +config GKI_HIDDEN_MMC_CONFIGS + bool "Hidden MMC configs needed for GKI" + select MMC_SDHCI_IO_ACCESSORS if (MMC_SDHCI) + help + Dummy config option used to enable hidden MMC configs. These are normally selected implicitly when a module that relies on it is configured. @@ -52,6 +70,34 @@ select GPIO_PL061 if (HAS_IOMEM && ARM_AMBA && GPIOLIB) help Dummy config option used to enable hidden GPIO configs. + These are normally selected implicitly when a module + that relies on it is configured. + +config GKI_HIDDEN_QCOM_CONFIGS + bool "Hidden QCOM configs needed for GKI" + select QCOM_SMEM_STATE + select QCOM_GDSC if (ARCH_QCOM) + select IOMMU_IO_PGTABLE_LPAE if (ARCH_QCOM) + + help + Dummy config option used to enable hidden QCOM configs. + These are normally selected implicitly when a module + that relies on it is configured. + +config GKI_HIDDEN_MEDIA_CONFIGS + bool "Hidden Media configs needed for GKI" + select VIDEOBUF2_CORE + select V4L2_MEM2MEM_DEV + select MEDIA_CONTROLLER + select MEDIA_CONTROLLER_REQUEST_API + select MEDIA_SUPPORT + select FRAME_VECTOR + select CEC_CORE + select CEC_NOTIFIER + select CEC_PIN + select VIDEOBUF2_DMA_CONTIG + help + Dummy config option used to enable hidden media configs. These are normally selected implicitly when a module that relies on it is configured. @@ -82,23 +128,6 @@ If you are not building a kernel to be used for a variety of out-of-kernel built wireless modules, say N here. -config GKI_HIDDEN_SOC_PM_CONFIGS - bool "Hidden SOC Power Management configs for GKI" - select PM_GENERIC_DOMAINS if PM - help - Dummy config option used to enable all the hidden SOC specific power - management add-in modules. - -config GKI_HIDDEN_VIDEOBUF2_CONFIGS - bool "Hidden v4l2 configs for GKI" - select V4L2_MEM2MEM_DEV if VIDEO_V4L2 - select VIDEOBUF2_CORE if VIDEO_V4L2 - select VIDEOBUF2_V4L2 if VIDEO_V4L2 - select VIDEOBUF2_VMALLOC if VIDEO_V4L2 - select VIDEOBUF2_MEMOPS if VIDEO_V4L2 - help - Dummy config option used to enable all the hidden v4l2 media module. - config GKI_HIDDEN_USB_CONFIGS bool "Hiddel USB configurations needed for GKI" select USB_PHY @@ -120,9 +149,22 @@ If you are not building a kernel to be used for a variety of SoCs and out-of-tree drivers, say N here. +config GKI_HIDDEN_RPMSG_CONFIGS + bool "Hidden RPMSG configuration needed for GKI" + select RPMSG + help + Dummy config option used to enable the hidden RPMSG config. + This configuration is usually only selected by another config + option or a combination of them. + + If you are not building a kernel to be used for a variety of + out-of-kernel build RPMSG drivers, say N here. + config GKI_HIDDEN_GPU_CONFIGS bool "Hidden GPU configuration needed for GKI" select TRACE_GPU_MEM + select MMU_NOTIFIER + select HMM_MIRROR help Dummy config option used to enable the hidden GPU config. These are normally selected implicitly when a module @@ -131,10 +173,58 @@ config GKI_HIDDEN_IRQ_CONFIGS bool "Hidden IRQ configuration needed for GKI" select GENERIC_IRQ_CHIP + select IRQ_DOMAIN_HIERARCHY + select IRQ_FASTEOI_HIERARCHY_HANDLERS help Dummy config option used to enable GENERIC_IRQ_CHIP hidden config, required by various SoC platforms. This is usually selected by ARCH_*. + +config GKI_HIDDEN_HYPERVISOR_CONFIGS + bool "Hidden hypervisor configuration needed for GKI" + select SYS_HYPERVISOR + help + Dummy config option used to enable the SYS_HYPERVISOR hidden + config, required by various SoC platforms. This is usually + selected by XEN or S390. + +config GKI_HIDDEN_NET_CONFIGS + bool "Hidden networking configuration needed for GKI" + select PAGE_POOL + select NET_PTP_CLASSIFY + help + Dummy config option used to enable the networking hidden + config, required by various SoC platforms. + +config GKI_HIDDEN_PHY_CONFIGS + bool "Hidden PHY configuration needed for GKI" + select GENERIC_PHY_MIPI_DPHY + help + Dummy config option used to enable the hidden PHY configs, + required by various SoC platforms. + +config GKI_HIDDEN_MM_CONFIGS + bool "Hidden MM configuration needed for GKI" + select PAGE_REPORTING + select BALLOON_COMPACTION + select MEMORY_BALLOON + help + Dummy config option used to enable hidden MM configs, + currently required for VIRTIO_BALLOON + +config GKI_HIDDEN_DMA_CONFIGS + bool "Hidden DMA configuration needed for GKI" + select ASYNC_TX_ENABLE_CHANNEL_SWITCH + help + Dummy config option used to enable the hidden DMA configs, + required by various SoC platforms. + +config GKI_HIDDEN_ETHERNET_CONFIGS + bool "Hidden Ethernet configuration needed for GKI" + select PHYLINK + help + Dummy config option used to enable the hidden Ethernet PHYLINK + configs, required by various ethernet devices. # Atrocities needed for # a) building GKI modules in separate tree, or @@ -150,15 +240,23 @@ select GKI_HIDDEN_REGMAP_CONFIGS select GKI_HIDDEN_SND_CONFIGS select GKI_HIDDEN_SND_SOC_CONFIGS + select GKI_HIDDEN_MMC_CONFIGS select GKI_HIDDEN_GPIO_CONFIGS + select GKI_HIDDEN_QCOM_CONFIGS select GKI_LEGACY_WEXT_ALLCONFIG + select GKI_HIDDEN_MEDIA_CONFIGS select GKI_HIDDEN_VIRTUAL_CONFIGS - select GKI_HIDDEN_SOC_PM_CONFIGS - select GKI_HIDDEN_VIDEOBUF2_CONFIGS select GKI_HIDDEN_USB_CONFIGS select GKI_HIDDEN_SOC_BUS_CONFIGS + select GKI_HIDDEN_RPMSG_CONFIGS select GKI_HIDDEN_GPU_CONFIGS select GKI_HIDDEN_IRQ_CONFIGS + select GKI_HIDDEN_HYPERVISOR_CONFIGS + select GKI_HIDDEN_NET_CONFIGS + select GKI_HIDDEN_PHY_CONFIGS + select GKI_HIDDEN_MM_CONFIGS + select GKI_HIDDEN_DMA_CONFIGS + select GKI_HIDDEN_ETHERNET_CONFIGS help Dummy config option used to enable core functionality used by modules that may not be selectable in this config. -- Gitblit v1.6.2