linux/drivers/media/platform/amphion
Ming Qian 5bd28eae48 media: amphion: ensure the bitops don't cross boundaries
the supported_instance_count determine the instance index range,
it shouldn't exceed the bits number of instance_mask,
otherwise the bitops of instance_mask may cross boundaries

Fixes: 9f599f351e ("media: amphion: add vpu core driver")
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2023-07-25 09:31:49 +02:00
..
Kconfig media: platform: amphion: Fix build error without MAILBOX 2022-03-18 06:03:40 +01:00
Makefile
vdec.c media: amphion: fix CHECKED_RETURN issues reported by coverity 2023-07-25 09:31:49 +02:00
venc.c media: amphion: fix REVERSE_INULL issues reported by coverity 2023-07-25 09:31:49 +02:00
vpu_cmds.c media: amphion: fix UNUSED_VALUE issue reported by coverity 2023-07-25 09:31:49 +02:00
vpu_cmds.h media: amphion: implement vpu core communication based on mailbox 2022-03-07 17:13:33 +01:00
vpu_codec.h media: amphion: decoder implement display delay enable 2023-03-19 22:54:56 +01:00
vpu_color.c media: amphion: correct the unspecified color space 2023-02-08 07:32:31 +01:00
vpu_core.c media: amphion: ensure the bitops don't cross boundaries 2023-07-25 09:31:49 +02:00
vpu_core.h media: amphion: fix a bug that vpu core may not resume after suspend 2022-08-30 15:27:51 +02:00
vpu_dbg.c media: amphion: fix CHECKED_RETURN issues reported by coverity 2023-07-25 09:31:49 +02:00
vpu_defs.h media: amphion: handle picture skipped event 2022-05-13 11:02:19 +02:00
vpu_drv.c media: Explicitly include correct DT includes 2023-07-19 12:57:51 +02:00
vpu_helpers.c media: amphion: add helper function to get id name 2023-07-25 09:31:48 +02:00
vpu_helpers.h media: amphion: tell and handle contiguous and non contiguous format 2022-11-25 11:02:35 +00:00
vpu_imx8q.c media: amphion: fix some issues to improve robust 2022-03-18 07:32:10 +01:00
vpu_imx8q.h media: amphion: fix some issues to improve robust 2022-03-18 07:32:10 +01:00
vpu_malone.c media: Explicitly include correct DT includes 2023-07-19 12:57:51 +02:00
vpu_malone.h media: amphion: support to decode RealVideo video 2023-04-10 14:09:35 +01:00
vpu_mbox.c media: Explicitly include correct DT includes 2023-07-19 12:57:51 +02:00
vpu_mbox.h media: amphion: implement vpu core communication based on mailbox 2022-03-07 17:13:33 +01:00
vpu_msgs.c media: amphion: fix UNINIT issues reported by coverity 2023-07-25 09:31:49 +02:00
vpu_msgs.h media: amphion: implement vpu core communication based on mailbox 2022-03-07 17:13:33 +01:00
vpu_rpc.c media: Explicitly include correct DT includes 2023-07-19 12:57:51 +02:00
vpu_rpc.h media: amphion: only insert the first sequence startcode for vc1l format 2022-07-08 18:18:49 +01:00
vpu_v4l2.c media: amphion: reinit vpu if reqbufs output 0 2023-07-25 09:31:48 +02:00
vpu_v4l2.h media: amphion: initiate a drain of the capture queue in dynamic resolution change 2023-05-25 16:21:20 +02:00
vpu_windsor.c media: Explicitly include correct DT includes 2023-07-19 12:57:51 +02:00
vpu_windsor.h media: amphion: implement windsor encoder rpc interface 2022-03-07 17:13:33 +01:00
vpu.h media: amphion: add helper function to get id name 2023-07-25 09:31:48 +02:00