2019-09-17 15:36:04 -06:00
|
|
|
config GKI_HIDDEN_DRM_CONFIGS
|
|
|
|
bool "Hidden DRM configs needed for GKI"
|
|
|
|
select DRM_KMS_HELPER if (HAS_IOMEM && DRM)
|
|
|
|
select DRM_GEM_CMA_HELPER
|
|
|
|
select DRM_MIPI_DSI
|
2020-04-15 14:50:41 -06:00
|
|
|
select DRM_TTM if (HAS_IOMEM && DRM)
|
2019-12-24 02:27:54 -07:00
|
|
|
select VIDEOMODE_HELPERS
|
2019-09-17 15:36:04 -06:00
|
|
|
help
|
|
|
|
Dummy config option used to enable hidden DRM configs.
|
2020-01-29 12:27:23 -07:00
|
|
|
These are normally selected implicitly when including a
|
2019-09-17 15:36:04 -06:00
|
|
|
DRM module, but for GKI, the modules are built out-of-tree.
|
|
|
|
|
2019-09-17 16:38:05 -06:00
|
|
|
config GKI_HIDDEN_REGMAP_CONFIGS
|
|
|
|
bool "Hidden Regmap configs needed for GKI"
|
|
|
|
select REGMAP_IRQ
|
|
|
|
help
|
|
|
|
Dummy config option used to enable hidden regmap configs.
|
2020-01-29 12:27:23 -07:00
|
|
|
These are normally selected implicitly when a module
|
2019-09-17 16:38:05 -06:00
|
|
|
that relies on it is configured.
|
|
|
|
|
2020-01-28 17:11:56 -07:00
|
|
|
config GKI_HIDDEN_CRYPTO_CONFIGS
|
2020-01-29 12:27:23 -07:00
|
|
|
bool "Hidden CRYPTO configs needed for GKI"
|
2020-01-28 17:11:56 -07:00
|
|
|
select CRYPTO_ENGINE
|
|
|
|
help
|
2020-01-29 12:27:23 -07:00
|
|
|
Dummy config option used to enable hidden CRYPTO configs.
|
|
|
|
These are normally selected implicitly when a module
|
2020-01-28 17:11:56 -07:00
|
|
|
that relies on it is configured.
|
|
|
|
|
|
|
|
config GKI_HIDDEN_SND_CONFIGS
|
|
|
|
bool "Hidden SND configs needed for GKI"
|
|
|
|
select SND_VMASTER
|
2020-03-02 17:51:40 -07:00
|
|
|
select SND_PCM_ELD
|
|
|
|
select SND_JACK
|
|
|
|
select SND_JACK_INPUT_DEV
|
2020-01-28 17:11:56 -07:00
|
|
|
help
|
|
|
|
Dummy config option used to enable hidden SND configs.
|
2020-01-29 12:27:23 -07:00
|
|
|
These are normally selected implicitly when a module
|
2020-01-28 17:11:56 -07:00
|
|
|
that relies on it is configured.
|
|
|
|
|
2019-09-17 16:57:02 -06:00
|
|
|
config GKI_HIDDEN_SND_SOC_CONFIGS
|
|
|
|
bool "Hidden SND_SOC configs needed for GKI"
|
|
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM if (SND_SOC && SND)
|
2020-04-17 18:26:49 -06:00
|
|
|
select SND_SOC_COMPRESS if (SND_SOC && SND)
|
2019-09-17 16:57:02 -06:00
|
|
|
help
|
|
|
|
Dummy config option used to enable hidden SND_SOC configs.
|
2020-01-29 12:27:23 -07:00
|
|
|
These are normally selected implicitly when a module
|
2019-09-17 16:57:02 -06:00
|
|
|
that relies on it is configured.
|
|
|
|
|
2019-09-17 17:19:15 -06:00
|
|
|
config GKI_HIDDEN_GPIO_CONFIGS
|
|
|
|
bool "Hidden GPIO configs needed for GKI"
|
|
|
|
select PINCTRL_SINGLE if (PINCTRL && OF && HAS_IOMEM)
|
|
|
|
select GPIO_PL061 if (HAS_IOMEM && ARM_AMBA && GPIOLIB)
|
|
|
|
help
|
|
|
|
Dummy config option used to enable hidden GPIO configs.
|
2020-01-29 12:27:23 -07:00
|
|
|
These are normally selected implicitly when a module
|
2019-09-17 17:19:15 -06:00
|
|
|
that relies on it is configured.
|
|
|
|
|
2020-03-03 14:30:16 -07:00
|
|
|
config GKI_HIDDEN_VIRTUAL_CONFIGS
|
|
|
|
bool "Hidden Virtual configs needed for GKI"
|
|
|
|
select HVC_DRIVER
|
|
|
|
help
|
|
|
|
Dummy config option used to enable hidden virtual device configs.
|
|
|
|
These are normally selected implicitly when a module
|
|
|
|
that relies on it is configured.
|
|
|
|
|
2019-08-30 09:23:25 -06:00
|
|
|
# LEGACY_WEXT_ALLCONFIG Discussed upstream, soundly rejected as a unique
|
|
|
|
# problem for GKI to solve. It should be noted that these extensions are
|
|
|
|
# in-effect deprecated and generally unsupported and we should pressure
|
|
|
|
# the SOC vendors to drop any modules that require these extensions.
|
|
|
|
config GKI_LEGACY_WEXT_ALLCONFIG
|
|
|
|
bool "Hidden wireless extension configs needed for GKI"
|
|
|
|
select WIRELESS_EXT
|
|
|
|
select WEXT_CORE
|
|
|
|
select WEXT_PROC
|
|
|
|
select WEXT_SPY
|
|
|
|
select WEXT_PRIV
|
|
|
|
help
|
|
|
|
Dummy config option used to enable all the hidden legacy wireless
|
|
|
|
extensions to the core wireless network functionality used by
|
|
|
|
add-in modules.
|
|
|
|
|
|
|
|
If you are not building a kernel to be used for a variety of
|
|
|
|
out-of-kernel built wireless modules, say N here.
|
|
|
|
|
2020-02-04 13:05:26 -07:00
|
|
|
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.
|
|
|
|
|
ANDROID: GKI: Enable V4L2 hidden configs
V4L2 is disabled by default, enable common features.
23 Added functions:
void vb2_buffer_done(vb2_buffer*, vb2_buffer_state)
int vb2_dqbuf(vb2_queue*, v4l2_buffer*, bool)
int vb2_fop_mmap(file*, vm_area_struct*)
__poll_t vb2_fop_poll(file*, poll_table*)
ssize_t vb2_fop_read(file*, char*, size_t, loff_t*)
int vb2_fop_release(file*)
int vb2_ioctl_create_bufs(file*, void*, v4l2_create_buffers*)
int vb2_ioctl_dqbuf(file*, void*, v4l2_buffer*)
int vb2_ioctl_expbuf(file*, void*, v4l2_exportbuffer*)
int vb2_ioctl_qbuf(file*, void*, v4l2_buffer*)
int vb2_ioctl_querybuf(file*, void*, v4l2_buffer*)
int vb2_ioctl_reqbufs(file*, void*, v4l2_requestbuffers*)
int vb2_ioctl_streamoff(file*, void*, v4l2_buf_type)
int vb2_ioctl_streamon(file*, void*, v4l2_buf_type)
void vb2_ops_wait_finish(vb2_queue*)
void vb2_ops_wait_prepare(vb2_queue*)
void* vb2_plane_vaddr(vb2_buffer*, unsigned int)
int vb2_qbuf(vb2_queue*, v4l2_buffer*)
int vb2_queue_init(vb2_queue*)
void vb2_queue_release(vb2_queue*)
int vb2_reqbufs(vb2_queue*, v4l2_requestbuffers*)
int vb2_streamoff(vb2_queue*, v4l2_buf_type)
int vb2_streamon(vb2_queue*, v4l2_buf_type)
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 151246806
Test: abi check, confirm the various vb2_* functions are now available
Change-Id: I6e20c12c645fd45801b24f922c66508b667ea371
2020-03-11 18:59:28 -06:00
|
|
|
config GKI_HIDDEN_VIDEOBUF2_CONFIGS
|
|
|
|
bool "Hidden v4l2 configs for GKI"
|
2020-04-13 09:56:58 -06:00
|
|
|
select V4L2_MEM2MEM_DEV if VIDEO_V4L2
|
ANDROID: GKI: Enable V4L2 hidden configs
V4L2 is disabled by default, enable common features.
23 Added functions:
void vb2_buffer_done(vb2_buffer*, vb2_buffer_state)
int vb2_dqbuf(vb2_queue*, v4l2_buffer*, bool)
int vb2_fop_mmap(file*, vm_area_struct*)
__poll_t vb2_fop_poll(file*, poll_table*)
ssize_t vb2_fop_read(file*, char*, size_t, loff_t*)
int vb2_fop_release(file*)
int vb2_ioctl_create_bufs(file*, void*, v4l2_create_buffers*)
int vb2_ioctl_dqbuf(file*, void*, v4l2_buffer*)
int vb2_ioctl_expbuf(file*, void*, v4l2_exportbuffer*)
int vb2_ioctl_qbuf(file*, void*, v4l2_buffer*)
int vb2_ioctl_querybuf(file*, void*, v4l2_buffer*)
int vb2_ioctl_reqbufs(file*, void*, v4l2_requestbuffers*)
int vb2_ioctl_streamoff(file*, void*, v4l2_buf_type)
int vb2_ioctl_streamon(file*, void*, v4l2_buf_type)
void vb2_ops_wait_finish(vb2_queue*)
void vb2_ops_wait_prepare(vb2_queue*)
void* vb2_plane_vaddr(vb2_buffer*, unsigned int)
int vb2_qbuf(vb2_queue*, v4l2_buffer*)
int vb2_queue_init(vb2_queue*)
void vb2_queue_release(vb2_queue*)
int vb2_reqbufs(vb2_queue*, v4l2_requestbuffers*)
int vb2_streamoff(vb2_queue*, v4l2_buf_type)
int vb2_streamon(vb2_queue*, v4l2_buf_type)
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 151246806
Test: abi check, confirm the various vb2_* functions are now available
Change-Id: I6e20c12c645fd45801b24f922c66508b667ea371
2020-03-11 18:59:28 -06:00
|
|
|
select VIDEOBUF2_CORE if VIDEO_V4L2
|
|
|
|
select VIDEOBUF2_V4L2 if VIDEO_V4L2
|
|
|
|
select VIDEOBUF2_VMALLOC if VIDEO_V4L2
|
2020-04-13 09:56:58 -06:00
|
|
|
select VIDEOBUF2_MEMOPS if VIDEO_V4L2
|
ANDROID: GKI: Enable V4L2 hidden configs
V4L2 is disabled by default, enable common features.
23 Added functions:
void vb2_buffer_done(vb2_buffer*, vb2_buffer_state)
int vb2_dqbuf(vb2_queue*, v4l2_buffer*, bool)
int vb2_fop_mmap(file*, vm_area_struct*)
__poll_t vb2_fop_poll(file*, poll_table*)
ssize_t vb2_fop_read(file*, char*, size_t, loff_t*)
int vb2_fop_release(file*)
int vb2_ioctl_create_bufs(file*, void*, v4l2_create_buffers*)
int vb2_ioctl_dqbuf(file*, void*, v4l2_buffer*)
int vb2_ioctl_expbuf(file*, void*, v4l2_exportbuffer*)
int vb2_ioctl_qbuf(file*, void*, v4l2_buffer*)
int vb2_ioctl_querybuf(file*, void*, v4l2_buffer*)
int vb2_ioctl_reqbufs(file*, void*, v4l2_requestbuffers*)
int vb2_ioctl_streamoff(file*, void*, v4l2_buf_type)
int vb2_ioctl_streamon(file*, void*, v4l2_buf_type)
void vb2_ops_wait_finish(vb2_queue*)
void vb2_ops_wait_prepare(vb2_queue*)
void* vb2_plane_vaddr(vb2_buffer*, unsigned int)
int vb2_qbuf(vb2_queue*, v4l2_buffer*)
int vb2_queue_init(vb2_queue*)
void vb2_queue_release(vb2_queue*)
int vb2_reqbufs(vb2_queue*, v4l2_requestbuffers*)
int vb2_streamoff(vb2_queue*, v4l2_buf_type)
int vb2_streamon(vb2_queue*, v4l2_buf_type)
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 151246806
Test: abi check, confirm the various vb2_* functions are now available
Change-Id: I6e20c12c645fd45801b24f922c66508b667ea371
2020-03-11 18:59:28 -06:00
|
|
|
help
|
|
|
|
Dummy config option used to enable all the hidden v4l2 media module.
|
|
|
|
|
2020-03-19 19:14:14 -06:00
|
|
|
config GKI_HIDDEN_USB_CONFIGS
|
|
|
|
bool "Hiddel USB configurations needed for GKI"
|
|
|
|
select USB_PHY
|
|
|
|
help
|
|
|
|
Dummy config option used to enable all USB related hidden configs.
|
|
|
|
These configurations are 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 USB drivers, say N here.
|
|
|
|
|
2020-03-23 21:40:00 -06:00
|
|
|
config GKI_HIDDEN_SOC_BUS_CONFIGS
|
|
|
|
bool "Hidden SoC bus configuration needed for GKI"
|
|
|
|
select SOC_BUS
|
|
|
|
help
|
|
|
|
Dummy config option used to enable SOC_BUS hidden Kconfig.
|
|
|
|
The configuration is required for SoCs to register themselves to the bus.
|
|
|
|
|
|
|
|
If you are not building a kernel to be used for a variety of SoCs and
|
|
|
|
out-of-tree drivers, say N here.
|
|
|
|
|
2020-04-21 18:54:15 -06:00
|
|
|
config GKI_HIDDEN_GPU_CONFIGS
|
|
|
|
bool "Hidden GPU configuration needed for GKI"
|
|
|
|
select TRACE_GPU_MEM
|
|
|
|
help
|
|
|
|
Dummy config option used to enable the hidden GPU config.
|
|
|
|
These are normally selected implicitly when a module
|
|
|
|
that relies on it is configured.
|
|
|
|
|
2020-04-27 09:54:47 -06:00
|
|
|
config GKI_HIDDEN_IRQ_CONFIGS
|
|
|
|
bool "Hidden IRQ configuration needed for GKI"
|
|
|
|
select GENERIC_IRQ_CHIP
|
|
|
|
help
|
|
|
|
Dummy config option used to enable GENERIC_IRQ_CHIP hidden
|
|
|
|
config, required by various SoC platforms. This is usually
|
|
|
|
selected by ARCH_*.
|
|
|
|
|
2019-08-28 16:52:02 -06:00
|
|
|
# Atrocities needed for
|
|
|
|
# a) building GKI modules in separate tree, or
|
|
|
|
# b) building drivers that are not modularizable
|
|
|
|
#
|
|
|
|
# All of these should be reworked into an upstream solution
|
|
|
|
# if possible.
|
|
|
|
#
|
|
|
|
config GKI_HACKS_TO_FIX
|
|
|
|
bool "GKI Dummy config options"
|
2020-01-28 17:11:56 -07:00
|
|
|
select GKI_HIDDEN_CRYPTO_CONFIGS
|
2019-09-17 15:36:04 -06:00
|
|
|
select GKI_HIDDEN_DRM_CONFIGS
|
2019-09-17 16:38:05 -06:00
|
|
|
select GKI_HIDDEN_REGMAP_CONFIGS
|
2020-01-28 17:11:56 -07:00
|
|
|
select GKI_HIDDEN_SND_CONFIGS
|
2019-09-17 16:57:02 -06:00
|
|
|
select GKI_HIDDEN_SND_SOC_CONFIGS
|
2019-09-17 17:19:15 -06:00
|
|
|
select GKI_HIDDEN_GPIO_CONFIGS
|
2019-08-30 09:23:25 -06:00
|
|
|
select GKI_LEGACY_WEXT_ALLCONFIG
|
2020-03-03 14:30:16 -07:00
|
|
|
select GKI_HIDDEN_VIRTUAL_CONFIGS
|
2020-02-04 13:05:26 -07:00
|
|
|
select GKI_HIDDEN_SOC_PM_CONFIGS
|
ANDROID: GKI: Enable V4L2 hidden configs
V4L2 is disabled by default, enable common features.
23 Added functions:
void vb2_buffer_done(vb2_buffer*, vb2_buffer_state)
int vb2_dqbuf(vb2_queue*, v4l2_buffer*, bool)
int vb2_fop_mmap(file*, vm_area_struct*)
__poll_t vb2_fop_poll(file*, poll_table*)
ssize_t vb2_fop_read(file*, char*, size_t, loff_t*)
int vb2_fop_release(file*)
int vb2_ioctl_create_bufs(file*, void*, v4l2_create_buffers*)
int vb2_ioctl_dqbuf(file*, void*, v4l2_buffer*)
int vb2_ioctl_expbuf(file*, void*, v4l2_exportbuffer*)
int vb2_ioctl_qbuf(file*, void*, v4l2_buffer*)
int vb2_ioctl_querybuf(file*, void*, v4l2_buffer*)
int vb2_ioctl_reqbufs(file*, void*, v4l2_requestbuffers*)
int vb2_ioctl_streamoff(file*, void*, v4l2_buf_type)
int vb2_ioctl_streamon(file*, void*, v4l2_buf_type)
void vb2_ops_wait_finish(vb2_queue*)
void vb2_ops_wait_prepare(vb2_queue*)
void* vb2_plane_vaddr(vb2_buffer*, unsigned int)
int vb2_qbuf(vb2_queue*, v4l2_buffer*)
int vb2_queue_init(vb2_queue*)
void vb2_queue_release(vb2_queue*)
int vb2_reqbufs(vb2_queue*, v4l2_requestbuffers*)
int vb2_streamoff(vb2_queue*, v4l2_buf_type)
int vb2_streamon(vb2_queue*, v4l2_buf_type)
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 151246806
Test: abi check, confirm the various vb2_* functions are now available
Change-Id: I6e20c12c645fd45801b24f922c66508b667ea371
2020-03-11 18:59:28 -06:00
|
|
|
select GKI_HIDDEN_VIDEOBUF2_CONFIGS
|
2020-03-19 19:14:14 -06:00
|
|
|
select GKI_HIDDEN_USB_CONFIGS
|
2020-03-23 21:40:00 -06:00
|
|
|
select GKI_HIDDEN_SOC_BUS_CONFIGS
|
2020-04-21 18:54:15 -06:00
|
|
|
select GKI_HIDDEN_GPU_CONFIGS
|
2020-04-27 09:54:47 -06:00
|
|
|
select GKI_HIDDEN_IRQ_CONFIGS
|
2019-08-28 16:52:02 -06:00
|
|
|
help
|
|
|
|
Dummy config option used to enable core functionality used by
|
|
|
|
modules that may not be selectable in this config.
|
|
|
|
|
|
|
|
Unless you are building a GKI kernel to be used with modules
|
|
|
|
built from a different config, say N here.
|