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
This commit is contained in:
parent
cb451596b6
commit
86ff68c90a
1 changed files with 10 additions and 0 deletions
|
@ -88,6 +88,15 @@ config GKI_HIDDEN_SOC_PM_CONFIGS
|
|||
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 VIDEOBUF2_CORE if VIDEO_V4L2
|
||||
select VIDEOBUF2_V4L2 if VIDEO_V4L2
|
||||
select VIDEOBUF2_MEMOPS if VIDEO_V4L2
|
||||
select VIDEOBUF2_VMALLOC if VIDEO_V4L2
|
||||
help
|
||||
Dummy config option used to enable all the hidden v4l2 media module.
|
||||
|
||||
# Atrocities needed for
|
||||
# a) building GKI modules in separate tree, or
|
||||
# b) building drivers that are not modularizable
|
||||
|
@ -106,6 +115,7 @@ config GKI_HACKS_TO_FIX
|
|||
select GKI_LEGACY_WEXT_ALLCONFIG
|
||||
select GKI_HIDDEN_VIRTUAL_CONFIGS
|
||||
select GKI_HIDDEN_SOC_PM_CONFIGS
|
||||
select GKI_HIDDEN_VIDEOBUF2_CONFIGS
|
||||
help
|
||||
Dummy config option used to enable core functionality used by
|
||||
modules that may not be selectable in this config.
|
||||
|
|
Loading…
Reference in a new issue