media: atomisp: Register only 1 /dev/video# node + cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest30 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/30 | media: atomisp: Remove res_overflow parameter from atomisp_try_fmt()drivers/ drivers/ drivers/ | +6 | 0 replies | |
| 2/30 | media: atomisp: Remove Continuous capture and SDV run-modesdrivers/ drivers/ drivers/ +2 more | +3 | 1 reply | |
| 3/30 | media: atomisp: Remove isp->need_gfx_throttle fielddrivers/ drivers/ drivers/ | +0 | 0 replies | |
| 4/30 | media: atomisp: Drop atomisp_get_css_buf_type()drivers/ | +1 | 0 replies | |
| 5/30 | media: atomisp: Replace source-pad checks with run-mode checksdrivers/ drivers/ drivers/ | +29 | 1 reply | |
| 6/30 | media: atomisp: Register only 1 /dev/video# nodedrivers/ drivers/ drivers/ +3 more | +30 | 1 reply | |
| 7/30 | media: atomisp: Drop atomisp_is_vf_pipe()drivers/ drivers/ drivers/ +1 more | +5 | 1 reply | |
| 8/30 | media: atomisp: Rename video_out_preview to video_outdrivers/ drivers/ drivers/ +3 more | +23 | 0 replies | |
| 9/30 | media: atomisp: Remove source_pad parameter from functions and structsdrivers/ drivers/ drivers/ +4 more | +33 | 0 replies | |
| 10/30 | media: atomisp: Remove 1 line atomisp_flush_bufs_and_wakeup() helperdrivers/ drivers/ | +1 | 0 replies | |
| 11/30 | media: atomisp: Remove atomisp_subdev_register_video_nodes() helperdrivers/ drivers/ drivers/ | +3 | 1 reply | |
| 12/30 | media: atomisp: Remove a bunch of unused atomisp_css_*() functionsdrivers/ drivers/ | +0 | 0 replies | |
| 13/30 | media: atomisp: Remove unused mipi_frame_size field from atomisp_[sub_]devicedrivers/ drivers/ drivers/ | +0 | 1 reply | |
| 14/30 | media: atomisp: Remove isp_timeout flagdrivers/ drivers/ drivers/ | +4 | 0 replies | |
| 15/30 | media: atomisp: Remove atomisp_sensor_start_stream()drivers/ | +0 | 0 replies | |
| 16/30 | media: atomisp: Simplify atomisp_[start|stop]_streaming()drivers/ | +17 | 0 replies | |
| 17/30 | media: atomisp: Simplify atomisp_css_[start|stop]()drivers/ | +20 | 0 replies | |
| 18/30 | media: atomisp: Simplify atomisp_open() and atomisp_release()drivers/ | +0 | 0 replies | |
| 19/30 | media: atomisp: Simplify atomisp_pipe_check()drivers/ | +0 | 0 replies | |
| 20/30 | media: atomisp: Turn asd->streaming state tracker into a booldrivers/ drivers/ drivers/ +4 more | +17 | 0 replies | |
| 21/30 | media: atomisp: Remove no longer used atomisp_css_flush()drivers/ drivers/ | +6 | 0 replies | |
| 22/30 | media: atomisp: Remove atomisp_streaming_count()drivers/ drivers/ drivers/ +1 more | +4 | 0 replies | |
| 23/30 | media: atomisp: Simplify atomisp_isr() and recovery_work()drivers/ | +50 | 0 replies | |
| 24/30 | media: atomisp: Rename atomisp_destroy_pipes_stream_force() to atomisp_destroy_pipes_stream()drivers/ drivers/ drivers/ | +7 | 0 replies | |
| 25/30 | media: atomisp: Allow system suspend to continue with open /dev/video# nodesdrivers/ drivers/ | +16 | 0 replies | |
| 26/30 | media: atomisp: Remove atomisp_[sub]dev_users()drivers/ drivers/ | +0 | 0 replies | |
| 27/30 | media: atomisp: Remove unused css_pipe_id argument from atomisp_css_[start|stop]()drivers/ drivers/ drivers/ +1 more | +8 | 0 replies | |
| 28/30 | media: atomisp: Remove unused atomisp_get_css_pipe_id() functiondrivers/ drivers/ | +0 | 0 replies | |
| 29/30 | media: atomisp: Remove in_reset argument from atomisp_css_start()drivers/ drivers/ drivers/ +1 more | +10 | 0 replies | |
| 30/30 | media: atomisp: Set asd.subdev.devnode once from isp_subdev_init_entities()drivers/ drivers/ | +1 | 0 replies |
Reviews trailers per patch
None of the 30 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Andy Shevchenko |
|---|---|
| Series | R-b |
| 1/30 | |
| 2/30 | |
| 3/30 | |
| 4/30 | |
| 5/30 | |
| 6/30 | |
| 7/30 | |
| 8/30 | |
| 9/30 | |
| 10/30 | |
| 11/30 | |
| 12/30 | |
| 13/30 | |
| 14/30 | |
| 15/30 | |
| 16/30 | |
| 17/30 | |
| 18/30 | |
| 19/30 | |
| 20/30 | |
| 21/30 | |
| 22/30 | |
| 23/30 | |
| 24/30 | |
| 25/30 | |
| 26/30 | |
| 27/30 | |
| 28/30 | |
| 29/30 | |
| 30/30 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/30] media: atomisp: Register only 1 /dev/video# node + cleanups
Hi All,
Here is an atomisp patch-series to continue the simplification / exotic feature removal of atomisp. Specifically this series makes atomisp register only 1 /dev/video# node.
The other patches are some preparation + follow-up work for this change, as well as a whole bunch of folow-up clean-ups.
The cleanups focus on removing the various count / users functions which atomisp used before when there were multiple nodes. This is preparation work for eventually allowing opening the same node multipe-times, as is normal for standard v4l2 /dev/video# nodes.
Regards,
Hans
Hans de Goede (30):
media: atomisp: Remove res_overflow parameter from atomisp_try_fmt()
media: atomisp: Remove Continuous capture and SDV run-modes
media: atomisp: Remove isp->need_gfx_throttle field
media: atomisp: Drop atomisp_get_css_buf_type()
media: atomisp: Replace source-pad checks with run-mode checks
media: atomisp: Register only 1 /dev/video# node
media: atomisp: Drop atomisp_is_vf_pipe()
media: atomisp: Rename video_out_preview to video_out
media: atomisp: Remove source_pad parameter from functions and structs
media: atomisp: Remove 1 line atomisp_flush_bufs_and_wakeup() helper
media: atomisp: Remove atomisp_subdev_register_video_nodes() helper
media: atomisp: Remove a bunch of unused atomisp_css_*() functions
media: atomisp: Remove unused mipi_frame_size field from
atomisp_[sub_]device
media: atomisp: Remove isp_timeout flag
media: atomisp: Remove atomisp_sensor_start_stream()
media: atomisp: Simplify atomisp_[start|stop]_streaming()
media: atomisp: Simplify atomisp_css_[start|stop]()
media: atomisp: Simplify atomisp_open() and atomisp_release()
media: atomisp: Simplify atomisp_pipe_check()
media: atomisp: Turn asd->streaming state tracker into a bool
media: atomisp: Remove no longer used atomisp_css_flush()
media: atomisp: Remove atomisp_streaming_count()
media: atomisp: Simplify atomisp_isr() and recovery_work()
media: atomisp: Rename atomisp_destroy_pipes_stream_force() to
atomisp_destroy_pipes_stream()
media: atomisp: Allow system suspend to continue with open /dev/video#
nodes
media: atomisp: Remove atomisp_[sub]dev_users()
media: atomisp: Remove unused css_pipe_id argument from
atomisp_css_[start|stop]()
media: atomisp: Remove unused atomisp_get_css_pipe_id() function
media: atomisp: Remove in_reset argument from atomisp_css_start()
media: atomisp: Set asd.subdev.devnode once from
isp_subdev_init_entities()
.../media/atomisp/include/linux/atomisp.h | 5 +- .../staging/media/atomisp/pci/atomisp_cmd.c | 371 ++++++------------ .../staging/media/atomisp/pci/atomisp_cmd.h | 8 +- .../media/atomisp/pci/atomisp_compat.h | 41 +- .../media/atomisp/pci/atomisp_compat_css20.c | 283 ++----------- .../staging/media/atomisp/pci/atomisp_drvfs.c | 2 +- .../staging/media/atomisp/pci/atomisp_fops.c | 176 +-------- .../staging/media/atomisp/pci/atomisp_fops.h | 3 - .../media/atomisp/pci/atomisp_internal.h | 9 - .../staging/media/atomisp/pci/atomisp_ioctl.c | 212 ++-------- .../staging/media/atomisp/pci/atomisp_ioctl.h | 5 - .../media/atomisp/pci/atomisp_subdev.c | 198 ++-------- .../media/atomisp/pci/atomisp_subdev.h | 30 +- .../staging/media/atomisp/pci/atomisp_v4l2.c | 120 +----- 14 files changed, 254 insertions(+), 1209 deletions(-)
Signature · 1 line
2.40.1