mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-01 11:24:25 +08:00
media: platform: chips-media: Move Coda to separate folder
Prepare the folder structure for a second Chips&Media driver. Move the Coda driver to a sub-directory. Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
parent
4f61d8aa73
commit
02a8b42563
@ -5169,7 +5169,7 @@ M: Philipp Zabel <p.zabel@pengutronix.de>
|
||||
L: linux-media@vger.kernel.org
|
||||
S: Maintained
|
||||
F: Documentation/devicetree/bindings/media/coda.yaml
|
||||
F: drivers/media/platform/chips-media/
|
||||
F: drivers/media/platform/chips-media/coda
|
||||
|
||||
CODE OF CONDUCT
|
||||
M: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
||||
|
@ -2,19 +2,4 @@
|
||||
|
||||
comment "Chips&Media media platform drivers"
|
||||
|
||||
config VIDEO_CODA
|
||||
tristate "Chips&Media Coda multi-standard codec IP"
|
||||
depends on V4L_MEM2MEM_DRIVERS
|
||||
depends on VIDEO_DEV && OF && (ARCH_MXC || COMPILE_TEST)
|
||||
select SRAM
|
||||
select VIDEOBUF2_DMA_CONTIG
|
||||
select VIDEOBUF2_VMALLOC
|
||||
select V4L2_JPEG_HELPER
|
||||
select V4L2_MEM2MEM_DEV
|
||||
select GENERIC_ALLOCATOR
|
||||
help
|
||||
Coda is a range of video codec IPs that supports
|
||||
H.264, MPEG-4, and other video formats.
|
||||
|
||||
config VIDEO_IMX_VDOA
|
||||
def_tristate VIDEO_CODA if SOC_IMX6Q || COMPILE_TEST
|
||||
source "drivers/media/platform/chips-media/coda/Kconfig"
|
||||
|
@ -1,6 +1,3 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
coda-vpu-objs := coda-common.o coda-bit.o coda-gdi.o coda-h264.o coda-mpeg2.o coda-mpeg4.o coda-jpeg.o
|
||||
|
||||
obj-$(CONFIG_VIDEO_CODA) += coda-vpu.o
|
||||
obj-$(CONFIG_VIDEO_IMX_VDOA) += imx-vdoa.o
|
||||
obj-y += coda/
|
||||
|
18
drivers/media/platform/chips-media/coda/Kconfig
Normal file
18
drivers/media/platform/chips-media/coda/Kconfig
Normal file
@ -0,0 +1,18 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
config VIDEO_CODA
|
||||
tristate "Chips&Media Coda multi-standard codec IP"
|
||||
depends on V4L_MEM2MEM_DRIVERS
|
||||
depends on VIDEO_DEV && OF && (ARCH_MXC || COMPILE_TEST)
|
||||
select SRAM
|
||||
select VIDEOBUF2_DMA_CONTIG
|
||||
select VIDEOBUF2_VMALLOC
|
||||
select V4L2_JPEG_HELPER
|
||||
select V4L2_MEM2MEM_DEV
|
||||
select GENERIC_ALLOCATOR
|
||||
help
|
||||
Coda is a range of video codec IPs that supports
|
||||
H.264, MPEG-4, and other video formats.
|
||||
|
||||
config VIDEO_IMX_VDOA
|
||||
def_tristate VIDEO_CODA if SOC_IMX6Q || COMPILE_TEST
|
6
drivers/media/platform/chips-media/coda/Makefile
Normal file
6
drivers/media/platform/chips-media/coda/Makefile
Normal file
@ -0,0 +1,6 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
coda-vpu-objs := coda-common.o coda-bit.o coda-gdi.o coda-h264.o coda-mpeg2.o coda-mpeg4.o coda-jpeg.o
|
||||
|
||||
obj-$(CONFIG_VIDEO_CODA) += coda-vpu.o
|
||||
obj-$(CONFIG_VIDEO_IMX_VDOA) += imx-vdoa.o
|
@ -167,7 +167,7 @@ DEFINE_EVENT(coda_buf_class, coda_jpeg_done,
|
||||
#endif /* __CODA_TRACE_H__ */
|
||||
|
||||
#undef TRACE_INCLUDE_PATH
|
||||
#define TRACE_INCLUDE_PATH ../../drivers/media/platform/chips-media
|
||||
#define TRACE_INCLUDE_PATH ../../drivers/media/platform/chips-media/coda
|
||||
#undef TRACE_INCLUDE_FILE
|
||||
#define TRACE_INCLUDE_FILE trace
|
||||
|
Loading…
Reference in New Issue
Block a user