linux/drivers/media/platform/qcom/venus
Mauro Carvalho Chehab 9958d30f38 media: Kconfig: cleanup VIDEO_DEV dependencies
media Kconfig has two entries associated to V4L API:
VIDEO_DEV and VIDEO_V4L2.

On Kernel 2.6.x, there were two V4L APIs, each one with its own flag.
VIDEO_DEV were meant to:
	1) enable Video4Linux and make its Kconfig options to appear;
	2) it makes the Kernel build the V4L core.

while VIDEO_V4L2 where used to distinguish between drivers that
implement the newer API and drivers that implemented the former one.

With time, such meaning changed, specially after the removal of
all V4L version 1 drivers.

At the current implementation, VIDEO_DEV only does (1): it enables
the media options related to V4L, that now has:

	menu "Video4Linux options"
		visible if VIDEO_DEV

	source "drivers/media/v4l2-core/Kconfig"
	endmenu

but it doesn't affect anymore the V4L core drivers.

The rationale is that the V4L2 core has a "soft" dependency
at the I2C bus, and now requires to select a number of other
Kconfig options:

	config VIDEO_V4L2
		tristate
		depends on (I2C || I2C=n) && VIDEO_DEV
		select RATIONAL
		select VIDEOBUF2_V4L2 if VIDEOBUF2_CORE
		default (I2C || I2C=n) && VIDEO_DEV

In the past, merging them would be tricky, but it seems that it is now
possible to merge those symbols, in order to simplify V4L dependencies.

Let's keep VIDEO_DEV, as this one is used on some make *defconfig
configurations.

Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> # for meson-vdec & meson-ge2d
Acked-by: Andrzej Pietrasiewicz <andrzejtp2010@gmail.com>
Acked-by: Łukasz Stelmach <l.stelmach@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-03-18 05:58:35 +01:00
..
core.c media: venus: core: Fix a resource leak in the error handling path of 'venus_probe()' 2021-11-30 12:31:18 +01:00
core.h media: venus: core: Fix kerneldoc warnings 2022-03-07 10:34:10 +01:00
dbgfs.c media: venus: place extern venus_fw_debug on a header file 2020-09-03 11:09:54 +02:00
dbgfs.h media: venus: Add debugfs interface to set firmware log level 2020-09-01 14:13:30 +02:00
firmware.c media: venus: firmware: enable no tz fw loading for sc7280 2021-10-08 11:26:13 +02:00
firmware.h
helpers.c media: venus: vdec: fixed possible memory leak issue 2022-03-07 10:34:52 +01:00
helpers.h media: venus: vdec: decoded picture buffer handling during reconfig sequence 2021-10-21 14:24:48 +01:00
hfi_cmds.c media: venus: hfi_cmds: List HDR10 property as unsupported for v1 and v3 2022-03-07 10:38:40 +01:00
hfi_cmds.h media: venus: hfi_cmds.h: Replace one-element array with flexible-array member 2021-06-02 12:25:44 +02:00
hfi_helper.h media: venus: Set buffer to FW based on FW min count requirement. 2021-10-08 11:26:14 +02:00
hfi_msgs.c media: venus: Set buffer to FW based on FW min count requirement. 2021-10-08 11:26:14 +02:00
hfi_msgs.h media: venus: hfi_msgs.h: Replace one-element arrays with flexible-array members 2021-06-17 09:42:30 +02:00
hfi_parser.c media: venus: hfi_parser: Check for instance after hfi platform get 2021-04-06 14:50:32 +02:00
hfi_parser.h media: venus: helpers: Wire up hfi platform buffer requirements 2021-01-13 09:20:55 +01:00
hfi_plat_bufs_v6.c media: venus: Set buffer to FW based on FW min count requirement. 2021-10-08 11:26:14 +02:00
hfi_plat_bufs.h media: venus: Add platform buffers for v6 2021-01-13 09:19:23 +01:00
hfi_platform_v4.c media: venus: Enable low power setting for encoder 2021-06-02 12:28:17 +02:00
hfi_platform_v6.c media: venus: Add num_vpp_pipes to resource structure 2021-10-08 11:26:13 +02:00
hfi_platform.c media: venus: Add num_vpp_pipes to resource structure 2021-10-08 11:26:13 +02:00
hfi_platform.h media: venus: Add num_vpp_pipes to resource structure 2021-10-08 11:26:13 +02:00
hfi_venus_io.h media: venus: firmware: enable no tz fw loading for sc7280 2021-10-08 11:26:13 +02:00
hfi_venus.c media: venus: hfi: Skip AON register programming for V6 1pipe 2021-10-08 11:26:14 +02:00
hfi_venus.h media: venus: Add new interface queues reinit 2020-09-01 14:13:29 +02:00
hfi.c media: venus: hfi: Check for sys error on session hfi functions 2021-10-21 14:21:15 +01:00
hfi.h media: venus: Add new interface queues reinit 2020-09-01 14:13:29 +02:00
Kconfig media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
Makefile media: venus: Add platform buffers for v6 2021-01-13 09:19:23 +01:00
pm_helpers.c media: venus: avoid calling core_clk_setrate() concurrently during concurrent video sessions 2021-11-30 12:30:41 +01:00
pm_helpers.h media: venus: core, venc, vdec: Fix probe dependency error 2021-03-22 09:37:02 +01:00
vdec_ctrls.c media: venus: vdec: Add support for conceal control 2021-04-06 14:54:46 +02:00
vdec.c media: venus: vdec: decoded picture buffer handling during reconfig sequence 2021-10-21 14:24:48 +01:00
vdec.h
venc_ctrls.c media: venus: venc: Fix h264 8x8 transform control 2022-03-07 10:36:07 +01:00
venc.c media: venus: venc: Fix h264 8x8 transform control 2022-03-07 10:36:07 +01:00
venc.h