2e19bfc8 | 02-Mar-2023 |
Hans Verkuil <hverkuil-cisco@xs4all.nl> |
media: vivid: drop bitmap and clipping output overlay support
This test driver is the only remaining driver still using the clipping and bitmap method. Drop support for this so we can remove this in
media: vivid: drop bitmap and clipping output overlay support
This test driver is the only remaining driver still using the clipping and bitmap method. Drop support for this so we can remove this in the V4L2 API as well.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
show more ...
|
69d78a80 | 17-Oct-2022 |
Hans Verkuil <hverkuil-cisco@xs4all.nl> |
media: vivid: set num_in/outputs to 0 if not supported
If node_types does not have video/vbi/meta inputs or outputs, then set num_inputs/num_outputs to 0 instead of 1.
Signed-off-by: Hans Verkuil <
media: vivid: set num_in/outputs to 0 if not supported
If node_types does not have video/vbi/meta inputs or outputs, then set num_inputs/num_outputs to 0 instead of 1.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Fixes: 0c90f649d2f5 (media: vivid: add vivid_create_queue() helper) Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
show more ...
|
957148e2 | 12-Oct-2022 |
Hans Verkuil <hverkuil-cisco@xs4all.nl> |
media: vivid: drop GFP_DMA32
>From what I can see, this is not needed. And since using it issues a 'deprecated' warning, just drop it.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-
media: vivid: drop GFP_DMA32
>From what I can see, this is not needed. And since using it issues a 'deprecated' warning, just drop it.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
show more ...
|
eb1d9692 | 21-Oct-2022 |
Hans Verkuil <hverkuil@xs4all.nl> |
media: vivid: fix control handler mutex deadlock
vivid_update_format_cap() can be called from an s_ctrl callback. In that case (keep_controls == true) no control framework functions can be called th
media: vivid: fix control handler mutex deadlock
vivid_update_format_cap() can be called from an s_ctrl callback. In that case (keep_controls == true) no control framework functions can be called that take the control handler mutex.
The new call to v4l2_ctrl_modify_dimensions() did exactly that.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Fixes: 6bc7643d1b9c (media: vivid: add pixel_array test control) Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
show more ...
|
1f65ea41 | 13-Oct-2022 |
Hans Verkuil <hverkuil-cisco@xs4all.nl> |
media: vivid: dev->bitmap_cap wasn't freed in all cases
Whenever the compose width/height values change, the dev->bitmap_cap vmalloc'ed array must be freed and dev->bitmap_cap set to NULL.
This was
media: vivid: dev->bitmap_cap wasn't freed in all cases
Whenever the compose width/height values change, the dev->bitmap_cap vmalloc'ed array must be freed and dev->bitmap_cap set to NULL.
This was done in some places, but not all. This is only an issue if overlay support is enabled and the bitmap clipping is used.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Fixes: ef834f7836ec ([media] vivid: add the video capture and output parts) Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
show more ...
|