media: imx-pxp: add i.MX Pixel Pipeline driver
Add a V4L2 mem-to-mem scaler/CSC driver for the Pixel Pipeline (PXP) version found on i.MX6ULL SoCs. A similar variant is used on i.MX7D. Since this driver only uses the legacy pipeline, it should be reasonably easy to extend it to work with the older PXP versions found on i.MX6UL, i.MX6SX, i.MX6SL, i.MX28, and i.MX23. The driver supports scaling and colorspace conversion. There is currently no support for rotation, alpha-blending, and the LUTs. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
这个提交包含在:
@@ -181,6 +181,15 @@ config VIDEO_CODA
|
||||
config VIDEO_IMX_VDOA
|
||||
def_tristate VIDEO_CODA if SOC_IMX6Q || COMPILE_TEST
|
||||
|
||||
config VIDEO_IMX_PXP
|
||||
tristate "i.MX Pixel Pipeline (PXP)"
|
||||
depends on VIDEO_DEV && VIDEO_V4L2 && (ARCH_MXC || COMPILE_TEST)
|
||||
select VIDEOBUF2_DMA_CONTIG
|
||||
select V4L2_MEM2MEM_DEV
|
||||
help
|
||||
The i.MX Pixel Pipeline is a memory-to-memory engine for scaling,
|
||||
color space conversion, and rotation.
|
||||
|
||||
config VIDEO_MEDIATEK_JPEG
|
||||
tristate "Mediatek JPEG Codec driver"
|
||||
depends on MTK_IOMMU_V1 || COMPILE_TEST
|
||||
|
@@ -25,6 +25,8 @@ obj-$(CONFIG_VIDEO_TI_CAL) += ti-vpe/
|
||||
obj-$(CONFIG_VIDEO_MX2_EMMAPRP) += mx2_emmaprp.o
|
||||
obj-$(CONFIG_VIDEO_CODA) += coda/
|
||||
|
||||
obj-$(CONFIG_VIDEO_IMX_PXP) += imx-pxp.o
|
||||
|
||||
obj-$(CONFIG_VIDEO_SH_VEU) += sh_veu.o
|
||||
|
||||
obj-$(CONFIG_CEC_GPIO) += cec-gpio/
|
||||
|
1752
drivers/media/platform/imx-pxp.c
普通文件
1752
drivers/media/platform/imx-pxp.c
普通文件
文件差异内容过多而无法显示
加载差异
1685
drivers/media/platform/imx-pxp.h
普通文件
1685
drivers/media/platform/imx-pxp.h
普通文件
文件差异内容过多而无法显示
加载差异
在新工单中引用
屏蔽一个用户