[PATCH 00/13] media: atomisp: reduce the gap for ISP2401

From: Mauro Carvalho Chehab
Date: Wed Nov 17 2021 - 04:25:54 EST


As the driver and the firmware are closely bound each other and we're
using the Intel Aero firmware, with is widely available, make the sh_css
code closer to the OOT device driver for such board.

As a plus, it reduces the number of #ifdefs inside the code.

Patch 1: drop several boilerplate files;
Patch 2 and above: reduce sh_css gap.

Mauro Carvalho Chehab (13):
media: atomisp: drop empty files
media: atomisp: simplif sh_css_defs.h
media: atomisp: sh_css_metrics: drop some unused code
media: atomisp: sh_css_mipi: cleanup the code
media: atomisp: sh_css_params: remove tests for ISP2401
media: atomisp: sh_css_params: cleanup the code
media: atomisp: remove #ifdef HAS_NO_HMEM
media: atomisp: get rid of USE_WINDOWS_BINNING_FACTOR tests
media: atomisp: get rid of #ifdef HAS_BL
media: atomisp: get rid of sctbl_legacy_*
media: atomisp: sh_css_param_shading: fix comments coding style
media: atomisp: fix a bug when applying the binning factor
media: atomisp: sh_css_sp: better support the current firmware

drivers/staging/media/atomisp/Makefile | 4 -
.../staging/media/atomisp/pci/atomisp_cmd.c | 28 +--
.../staging/media/atomisp/pci/ia_css_pipe.h | 4 +-
.../media/atomisp/pci/ia_css_stream_public.h | 10 +-
.../pci/isp/kernels/bh/bh_2/ia_css_bh.host.c | 2 -
.../raw_aa_binning_1.0/ia_css_raa.host.c | 2 -
.../isp/kernels/s3a/s3a_1.0/ia_css_s3a.host.c | 5 -
.../isp/kernels/tnr/tnr_1.0/ia_css_tnr.host.c | 6 +-
.../kernels/tnr/tnr_1.0/ia_css_tnr_param.h | 4 +-
.../pci/isp/modes/interface/isp_const.h | 4 +-
.../runtime/binary/interface/ia_css_binary.h | 2 -
.../atomisp/pci/runtime/binary/src/binary.c | 18 +-
.../pci/runtime/debug/src/ia_css_debug.c | 2 +-
drivers/staging/media/atomisp/pci/sh_css.c | 16 +-
.../staging/media/atomisp/pci/sh_css_defs.h | 48 +---
.../media/atomisp/pci/sh_css_firmware.h | 3 -
.../media/atomisp/pci/sh_css_internal.h | 2 +-
.../media/atomisp/pci/sh_css_metadata.c | 17 --
.../media/atomisp/pci/sh_css_metrics.c | 25 --
.../staging/media/atomisp/pci/sh_css_mipi.c | 159 +++----------
.../staging/media/atomisp/pci/sh_css_mipi.h | 15 --
.../staging/media/atomisp/pci/sh_css_morph.c | 17 --
.../media/atomisp/pci/sh_css_param_shading.c | 84 +++----
.../staging/media/atomisp/pci/sh_css_params.c | 219 ++----------------
.../staging/media/atomisp/pci/sh_css_params.h | 8 -
.../media/atomisp/pci/sh_css_shading.c | 17 --
drivers/staging/media/atomisp/pci/sh_css_sp.c | 17 +-
.../staging/media/atomisp/pci/sh_css_stream.c | 17 --
28 files changed, 151 insertions(+), 604 deletions(-)
delete mode 100644 drivers/staging/media/atomisp/pci/sh_css_metadata.c
delete mode 100644 drivers/staging/media/atomisp/pci/sh_css_morph.c
delete mode 100644 drivers/staging/media/atomisp/pci/sh_css_shading.c
delete mode 100644 drivers/staging/media/atomisp/pci/sh_css_stream.c

--
2.33.1