media: atomisp: Various hmm and other cleanups
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest40 patches 1 replyIn review
- v140 patches 9 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/40 | media: atomisp: remove the unused RAW_BUF_STRIDE macrodrivers/ | +0 | 0 replies | |
| 2/40 | media: atomisp: remove unused ia_css_frame_allocate_contiguous*() functionsdrivers/ drivers/ | +0 | 0 replies | |
| 3/40 | media: atomisp: drop contiguous argument from ia_css_frame_allocate_with_buffer_size()drivers/ drivers/ drivers/ | +6 | 0 replies | |
| 4/40 | media: atomisp: drop contiguous argument from frame_allocate_with_data()drivers/ | +4 | 0 replies | |
| 5/40 | media: atomisp: drop contiguous argument from frame_create()drivers/ | +2 | 0 replies | |
| 6/40 | media: atomisp: drop IA_CSS_FRAME_FORMAT_MIPI support from ia_css_frame_init_planes()drivers/ | +3 | 0 replies | |
| 7/40 | media: atomisp: drop contiguous flag from struct ia_css_framedrivers/ drivers/ drivers/ +1 more | +1 | 0 replies | |
| 8/40 | media: atomisp: drop ATOMISP_MAP_FLAG_CONTIGUOUSdrivers/ drivers/ | +1 | 0 replies | |
| 9/40 | media: atomisp: remove hmm_pool_[un]register()drivers/ drivers/ drivers/ +1 more | +0 | 0 replies | |
| 10/40 | media: atomisp: remove dynamic and reserved pool codedrivers/ drivers/ drivers/ | +0 | 0 replies | |
| 11/40 | media: atomisp: remove hmm pool codedrivers/ drivers/ drivers/ +2 more | +8 | 0 replies | |
| 12/40 | media: atomisp: remove hmm_mem_statsdrivers/ drivers/ drivers/ +3 more | +1 | 0 replies | |
| 13/40 | media: atomisp: remove pool related kernel cmdline optionsdrivers/ drivers/ | +0 | 0 replies | |
| 14/40 | media: atomisp: remove unused attribute argument from ia_css_frame_map()drivers/ drivers/ drivers/ | +2 | 0 replies | |
| 15/40 | media: atomisp: drop hmm_page_typedrivers/ drivers/ | +15 | 0 replies | |
| 16/40 | media: atomisp: removed unused hmm_bo_get_page_info() functiondrivers/ drivers/ | +0 | 0 replies | |
| 17/40 | media: atomisp: remove bogus comment above hmm_bo_allocated() prototypedrivers/ | +0 | 0 replies | |
| 18/40 | media: atomisp: remove private acceleration ioctlsdrivers/ drivers/ drivers/ +2 more | +0 | 0 replies | |
| 19/40 | media: atomisp: remove atomisp_acc.cdrivers/ drivers/ drivers/ +7 more | +5 | 0 replies | |
| 20/40 | media: atomisp: remove unused atomisp_*css_* functionsdrivers/ drivers/ drivers/ | +0 | 0 replies | |
| 21/40 | media: atomisp: asc.acc.pipeline is always NULLdrivers/ drivers/ drivers/ +1 more | +1 | 0 replies | |
| 22/40 | media: atomisp: remove no longer used atomisp_css_acc_done() functiondrivers/ drivers/ drivers/ | +0 | 0 replies | |
| 23/40 | media: atomisp: remove atomisp_is_acc_enabled()drivers/ drivers/ drivers/ | +2 | 0 replies | |
| 24/40 | media: atomisp: drop unused ATOMISP_ACC_FW_LOAD_* definesdrivers/ | +0 | 0 replies | |
| 25/40 | media: atomisp: drop ATOMISP_MAP_FLAG_CLEAREDdrivers/ drivers/ drivers/ | +10 | 0 replies | |
| 26/40 | media: atomisp: drop unused ATOMISP_MAP_FLAG_* flagsdrivers/ drivers/ drivers/ +1 more | +18 | 0 replies | |
| 27/40 | media: atomisp: remove unused hmm address translation functionsdrivers/ drivers/ | +0 | 0 replies | |
| 28/40 | media: atomisp: add hmm_create_from_userdata() helperdrivers/ drivers/ drivers/ | +7 | 0 replies | |
| 29/40 | media: atomisp: Simplify hmm_alloc() callsdrivers/ drivers/ drivers/ +7 more | +33 | 0 replies | |
| 30/40 | media: atomisp: drop highmem var/arg from the hmm codedrivers/ drivers/ drivers/ | +6 | 0 replies | |
| 31/40 | media: atomisp: drop HMM_BO_SHARE typedrivers/ drivers/ | +1 | 0 replies | |
| 32/40 | media: atomisp: remove hmm_page_objectdrivers/ drivers/ drivers/ | +22 | 0 replies | |
| 33/40 | media: atomisp: fix __get_frame_info() error handlingdrivers/ | +3 | 0 replies | |
| 34/40 | media: atomisp: add error checking to atomisp_create_pipes_stream()drivers/ drivers/ drivers/ | +29 | 0 replies | |
| 35/40 | media: atomisp: add error logging to atomisp_destroy_pipes_stream_force()drivers/ | +5 | 0 replies | |
| 36/40 | media: atomisp: use atomisp_create_pipes_stream() in more placesdrivers/ | +4 | 0 replies | |
| 37/40 | media: atomisp: use atomisp_css_update_stream() in more placesdrivers/ | +6 | 0 replies | |
| 38/40 | media: atomisp: use atomisp_destroy_pipes_stream_force() in more placesdrivers/ | +5 | 0 replies | |
| 39/40 | media: atomisp: remove force argument from __destroy_[stream[s]|pipe[s]]()drivers/ | +11 | 0 replies | |
| 40/40 | media: atomisp: Add a notes.txt filedrivers/ | +30 | 0 replies |
Reviews trailers per patch
39 of 40 patches have a Reviewed-by or Acked-by.
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/40] media: atomisp: Various hmm and other cleanups
Hi All,
Here is v2 of my atomisp hmm (and other) cleanups series. As mentioned in the coverletter of v1, this is part of slowly working towards porting the code to videobuf2 to add/fix mmap support.
v2 addresses a few small remarks from Andy and adds Andy's Reviewed-by to all the patches, thank you Andy!
Regards,
Hans
Hans de Goede (40):
media: atomisp: remove the unused RAW_BUF_STRIDE macro
media: atomisp: remove unused ia_css_frame_allocate_contiguous*()
functions
media: atomisp: drop contiguous argument from
ia_css_frame_allocate_with_buffer_size()
media: atomisp: drop contiguous argument from
frame_allocate_with_data()
media: atomisp: drop contiguous argument from frame_create()
media: atomisp: drop IA_CSS_FRAME_FORMAT_MIPI support from
ia_css_frame_init_planes()
media: atomisp: drop contiguous flag from struct ia_css_frame
media: atomisp: drop ATOMISP_MAP_FLAG_CONTIGUOUS
media: atomisp: remove hmm_pool_[un]register()
media: atomisp: remove dynamic and reserved pool code
media: atomisp: remove hmm pool code
media: atomisp: remove hmm_mem_stats
media: atomisp: remove pool related kernel cmdline options
media: atomisp: remove unused attribute argument from
ia_css_frame_map()
media: atomisp: drop hmm_page_type
media: atomisp: removed unused hmm_bo_get_page_info() function
media: atomisp: remove bogus comment above hmm_bo_allocated()
prototype
media: atomisp: remove private acceleration ioctls
media: atomisp: remove atomisp_acc.c
media: atomisp: remove unused atomisp_*css_* functions
media: atomisp: asc.acc.pipeline is always NULL
media: atomisp: remove no longer used atomisp_css_acc_done() function
media: atomisp: remove atomisp_is_acc_enabled()
media: atomisp: drop unused ATOMISP_ACC_FW_LOAD_* defines
media: atomisp: drop ATOMISP_MAP_FLAG_CLEARED
media: atomisp: drop unused ATOMISP_MAP_FLAG_* flags
media: atomisp: remove unused hmm address translation functions
media: atomisp: add hmm_create_from_userdata() helper
media: atomisp: Simplify hmm_alloc() calls
media: atomisp: drop highmem var/arg from the hmm code
media: atomisp: drop HMM_BO_SHARE type
media: atomisp: remove hmm_page_object
media: atomisp: fix __get_frame_info() error handling
media: atomisp: add error checking to atomisp_create_pipes_stream()
media: atomisp: add error logging to
atomisp_destroy_pipes_stream_force()
media: atomisp: use atomisp_create_pipes_stream() in more places
media: atomisp: use atomisp_css_update_stream() in more places
media: atomisp: use atomisp_destroy_pipes_stream_force() in more
places
media: atomisp: remove force argument from
__destroy_[stream[s]|pipe[s]]()media: atomisp: Add a notes.txt file
drivers/staging/media/atomisp/Makefile | 3 - .../staging/media/atomisp/include/hmm/hmm.h | 32 +- .../media/atomisp/include/hmm/hmm_bo.h | 37 +- .../media/atomisp/include/hmm/hmm_common.h | 26 - .../media/atomisp/include/hmm/hmm_pool.h | 116 ---- .../media/atomisp/include/linux/atomisp.h | 146 ---- drivers/staging/media/atomisp/notes.txt | 30 + .../staging/media/atomisp/pci/atomisp_acc.c | 625 ------------------ .../staging/media/atomisp/pci/atomisp_acc.h | 120 ---- .../staging/media/atomisp/pci/atomisp_cmd.c | 33 +- .../media/atomisp/pci/atomisp_compat.h | 29 +- .../media/atomisp/pci/atomisp_compat_css20.c | 365 ++-------- .../atomisp/pci/atomisp_compat_ioctl32.h | 58 -- .../staging/media/atomisp/pci/atomisp_drvfs.c | 7 +- .../staging/media/atomisp/pci/atomisp_fops.c | 13 - .../staging/media/atomisp/pci/atomisp_ioctl.c | 73 +- .../staging/media/atomisp/pci/atomisp_ioctl.h | 1 - .../media/atomisp/pci/atomisp_subdev.c | 3 - .../media/atomisp/pci/atomisp_subdev.h | 10 - .../staging/media/atomisp/pci/atomisp_v4l2.c | 32 - drivers/staging/media/atomisp/pci/hmm/hmm.c | 186 +----- .../staging/media/atomisp/pci/hmm/hmm_bo.c | 261 ++------ .../media/atomisp/pci/hmm/hmm_dynamic_pool.c | 234 ------- .../media/atomisp/pci/hmm/hmm_reserved_pool.c | 253 ------- .../media/atomisp/pci/ia_css_frame_public.h | 40 -- .../kernels/sdis/sdis_1.0/ia_css_sdis.host.c | 2 +- .../kernels/sdis/sdis_2/ia_css_sdis2.host.c | 2 +- .../pci/isp/modes/interface/isp_const.h | 6 - .../pci/runtime/debug/src/ia_css_debug.c | 2 - .../runtime/frame/interface/ia_css_frame.h | 7 +- .../atomisp/pci/runtime/frame/src/frame.c | 105 +-- .../pci/runtime/isp_param/src/isp_param.c | 2 +- .../atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c | 3 +- .../atomisp/pci/runtime/spctrl/src/spctrl.c | 2 +- drivers/staging/media/atomisp/pci/sh_css.c | 5 - .../media/atomisp/pci/sh_css_firmware.c | 2 +- .../staging/media/atomisp/pci/sh_css_mipi.c | 3 +- .../staging/media/atomisp/pci/sh_css_params.c | 47 +- 38 files changed, 205 insertions(+), 2716 deletions(-) delete mode 100644 drivers/staging/media/atomisp/include/hmm/hmm_pool.h create mode 100644 drivers/staging/media/atomisp/notes.txt delete mode 100644 drivers/staging/media/atomisp/pci/atomisp_acc.c delete mode 100644 drivers/staging/media/atomisp/pci/atomisp_acc.h delete mode 100644 drivers/staging/media/atomisp/pci/hmm/hmm_dynamic_pool.c delete mode 100644 drivers/staging/media/atomisp/pci/hmm/hmm_reserved_pool.c
Signature · 1 line
2.36.0