linux/drivers/media/platform
Yunfei Dong 6d020d81b9 media: mediatek: vcodec: Make MM21 the default capture format
Given that only the MM21 capture format is supported by userspace tools
(like gstreamer and libyuv), make it the default capture format.

This allows us to force the MM21 format even when a MM21 and MT21C capable
firmware is available (which is needed while dynamic format switching isn't
implemented in the driver), without causing the following regressions on
v4l2-compliance:

        fail: v4l2-test-formats.cpp(478): pixelformat 3132544d (MT21) for buftype 9 not reported by ENUM_FMT
    test VIDIOC_G_FMT: FAIL
        fail: v4l2-test-formats.cpp(478): pixelformat 3132544d (MT21) for buftype 9 not reported by ENUM_FMT
    test VIDIOC_TRY_FMT: FAIL
        fail: v4l2-test-formats.cpp(478): pixelformat 3132544d (MT21) for buftype 9 not reported by ENUM_FMT
    test VIDIOC_S_FMT: FAIL

Fixes: 7501edef6b ("media: mediatek: vcodec: Different codec using different capture format")
Signed-off-by: Yunfei Dong <yunfei.dong@mediatek.com>
Reviewed-by: Nicolas F. R. A. Prado <nfraprado@collabora.com>
Tested-by: Nicolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2023-04-10 14:03:09 +01:00
..
allegro-dvt media: v4l: ioctl: Set bus_info in v4l_querycap() 2022-04-24 08:07:08 +01:00
amlogic media: platform: fix some double free in meson-ge2d and mtk-jpeg and s5p-mfc 2022-08-30 15:20:49 +02:00
amphion media: amphion: decoder implement display delay enable 2023-03-19 22:54:56 +01:00
aspeed media: Add dependency on ARCH_ASPEED 2022-11-25 11:19:17 +00:00
atmel media: atmel: atmel-isc: move to staging 2022-11-25 07:48:31 +00:00
cadence media: cadence: cdns-csi2tx: Use mipi-csi2.h 2022-05-13 11:02:20 +02:00
chips-media media: chips-media/imx-vdoa: Drop empty platform remove function 2023-02-06 09:02:33 +01:00
intel media: avoid use of 'videobuf' 2022-08-29 16:27:18 +02:00
marvell media: marvell: change return to goto for proper unwind 2023-02-08 08:31:49 +01:00
mediatek media: mediatek: vcodec: Make MM21 the default capture format 2023-04-10 14:03:09 +01:00
microchip media: microchip: microchip-isc: replace v4l2_{dbg|info|err} with dev-* 2023-02-06 08:56:36 +01:00
nvidia media: tegra-vde: Prepare to dynamic dma-buf locking specification 2022-10-18 01:21:49 +03:00
nxp media: dw100: use devm_platform_get_and_ioremap_resource() 2023-03-19 22:52:37 +01:00
qcom media: Revert "venus: firmware: Correct non-pix start and end addresses" 2023-03-18 08:43:44 +01:00
renesas media: platform: renesas: use devm_platform_get_and_ioremap_resource() 2023-03-19 22:53:03 +01:00
rockchip media: rkisp1: make a few const arrays static 2023-02-08 07:29:23 +01:00
samsung media: samsung: exynos4-is: drop simple-bus from compatibles 2023-03-20 15:28:17 +01:00
st media: stm32: dma2d: remove unused fb_buf 2023-03-20 00:22:13 +01:00
sunxi media: sun4i-csi: Fix 'Unbalanced pm_runtime_enable!' 2023-02-08 07:30:13 +01:00
ti media updates for v6.3-rc1 2023-02-26 11:47:26 -08:00
verisilicon media: hantro: Use core-generated bus_info value 2023-02-08 07:33:16 +01:00
via media: platform: via: Handle error for dma_set_mask 2023-03-19 22:56:21 +01:00
xilinx media: xilinx: dma: Use media_pipeline_for_each_pad() 2023-02-06 08:35:19 +01:00
Kconfig media: atmel: move microchip_csi2dc to dedicated microchip platform 2022-11-25 07:43:17 +00:00
m2m-deinterlace.c
Makefile media: atmel: move microchip_csi2dc to dedicated microchip platform 2022-11-25 07:43:17 +00:00
video-mux.c media: mc-entity: Rename media_entity_remote_pad() to media_pad_remote_pad_first() 2022-07-17 11:21:35 +01:00