linux_dsm_epyc7002/drivers/media/platform
Alexandre Courbot baf98b0ad3 media: mtk-vcodec: use v4l2_m2m_buffer where appropriate
Despite using M2M in both the decoder and encoder, this driver used
vb2_v4l2_buffer as its base buffer structure, and placed a list_head
right after the buffer declaration in order to match the layout of a
v4l2_m2m_buffer. This is very dangerous as it means the driver will
break should the layout of v4l2_m2m_buffer change.

Fix this by directly using v4l2_m2m_buffer and updating the sites that
accessed the buffer accordingly.

Signed-off-by: Alexandre Courbot <acourbot@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil-cisco@xs4all.nl: fix checkpatch warning]
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-01-09 14:46:41 +01:00
..
am437x media: am437x: fix smatch warning 2019-11-05 10:33:36 -03:00
atmel media: atmel: atmel-isi: initialize the try_crop for the pads in try_fmt 2019-12-16 10:17:49 +01:00
cadence media: v4l: cadence: Fix how unsued lanes are handled in 'csi2rx_start()' 2019-10-10 07:19:13 -03:00
cec-gpio drm main pull for 5.5-rc1 2019-11-27 17:45:48 -08:00
coda media: coda: avoid hardware lockups with more than 13 capture buffers 2019-12-16 10:09:12 +01:00
cros-ec-cec cec: add cec_adapter to cec_notifier_cec_adap_unregister() 2019-10-07 12:47:43 +02:00
davinci media: davinci/vpfe_capture.c: Avoid BUG_ON for register failure 2020-01-09 14:41:41 +01:00
exynos4-is media: exynos4-is: fix wrong mdev and v4l2 dev order in error path 2019-11-08 07:39:40 +01:00
exynos-gsc
marvell-ccic
meson drm main pull for 5.5-rc1 2019-11-27 17:45:48 -08:00
mtk-jpeg
mtk-mdp media: platform: mtk-mdp: add missed destroy_workqueue in remove 2019-12-13 09:18:35 +01:00
mtk-vcodec media: mtk-vcodec: use v4l2_m2m_buffer where appropriate 2020-01-09 14:46:41 +01:00
mtk-vpu media: mtk-vpu: fix two smatch warnings 2019-11-08 07:25:39 +01:00
omap
omap3isp Linux 5.5-rc5 2020-01-08 11:13:25 +01:00
qcom media: venus: remove invalid compat_ioctl32 handler 2019-11-09 09:08:30 +01:00
rcar-vin media: rcar-csi2: Enable support for R8A774B1 2019-11-05 08:55:07 -03:00
rockchip/rga
s3c-camif
s5p-cec cec: add cec_adapter to cec_notifier_cec_adap_unregister() 2019-10-07 12:47:43 +02:00
s5p-g2d
s5p-jpeg media: s5p-jpeg: drop unused components from s5p_jpeg_q_data 2019-11-05 09:08:04 -03:00
s5p-mfc
seco-cec drm main pull for 5.5-rc1 2019-11-27 17:45:48 -08:00
sti media: sti: bdisp: fix a possible sleep-in-atomic-context bug in bdisp_device_run() 2020-01-08 14:37:28 +01:00
stm32
sunxi media: sun4i-csi: Add support for A10 CSI1 camera sensor interface 2020-01-04 08:21:35 +01:00
tegra-cec cec: add cec_adapter to cec_notifier_cec_adap_unregister() 2019-10-07 12:47:43 +02:00
ti-vpe media: ti-vpe: csc: fix single vs multiplanar format handling 2019-12-13 09:29:52 +01:00
vicodec media: vicodec: media_device_cleanup was called too early 2019-11-10 07:45:17 +01:00
vimc media: vimc: Implement get/set selection in sink 2019-12-16 10:22:00 +01:00
vivid media: vivid: support multiplanar touch devices 2019-12-16 13:24:16 +01:00
vsp1
xilinx media: xilinx: Use the correct style for SPDX License Identifier 2019-11-05 08:30:51 -03:00
aspeed-video.c media: aspeed-video: Fix memory leaks in aspeed_video_probe 2019-11-10 07:23:38 +01:00
fsl-viu.c
imx-pxp.c
imx-pxp.h
Kconfig media: ti-vpe: cal: Add AM654 support 2019-12-09 11:31:08 +01:00
m2m-deinterlace.c
Makefile media: ti-vpe: Fix a parallel build issue 2019-10-10 11:39:32 -03:00
mx2_emmaprp.c
pxa_camera.c media: pxa_camera: add missed tasklet_kill 2019-12-13 09:23:33 +01:00
rcar_drif.c media: rcar_drif: fix a memory disclosure 2019-11-05 08:56:24 -03:00
rcar_fdp1.c media: fdp1: Fix R-Car M3-N naming in debug message 2019-11-05 09:01:49 -03:00
rcar_jpu.c
rcar-fcp.c
renesas-ceu.c
sh_veu.c
sh_vou.c
via-camera.c
via-camera.h
video-mux.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
vim2m.c media: vim2m: media_device_cleanup was called too early 2019-11-10 07:44:43 +01:00