[libcamera-devel] [PATCH 1/3] ipa: rkisp1: Add IMX8MP_V10 version
Kieran Bingham
kieran.bingham at ideasonboard.com
Tue Jan 16 10:33:42 CET 2024
Quoting Paul Elder via libcamera-devel (2024-01-16 09:17:52)
> Add the version number for IMX8MP_V10, and initialize values for it.
Matches the kernel implementation at
- https://lore.kernel.org/all/20240111114831.656736-1-paul.elder@ideasonboard.com/
Which is what I expect to be merged for this.
Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
> Signed-off-by: Paul Elder <paul.elder at ideasonboard.com>
> ---
> include/linux/rkisp1-config.h | 1 +
> src/ipa/rkisp1/rkisp1.cpp | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/include/linux/rkisp1-config.h b/include/linux/rkisp1-config.h
> index ec7cde8cd..0ed3dca8f 100644
> --- a/include/linux/rkisp1-config.h
> +++ b/include/linux/rkisp1-config.h
> @@ -185,6 +185,7 @@ enum rkisp1_cif_isp_version {
> RKISP1_V11,
> RKISP1_V12,
> RKISP1_V13,
> + IMX8MP_V10,
> };
>
> enum rkisp1_cif_isp_histogram_mode {
> diff --git a/src/ipa/rkisp1/rkisp1.cpp b/src/ipa/rkisp1/rkisp1.cpp
> index 6544c925b..aa73b7db1 100644
> --- a/src/ipa/rkisp1/rkisp1.cpp
> +++ b/src/ipa/rkisp1/rkisp1.cpp
> @@ -128,6 +128,7 @@ int IPARkISP1::init(const IPASettings &settings, unsigned int hwRevision,
> /* \todo Add support for other revisions */
> switch (hwRevision) {
> case RKISP1_V10:
> + case IMX8MP_V10:
> hwHistBinNMax_ = RKISP1_CIF_ISP_HIST_BIN_N_MAX_V10;
> hwGammaOutMaxSamples_ = RKISP1_CIF_ISP_GAMMA_OUT_MAX_SAMPLES_V10;
> hwHistogramWeightGridsSize_ = RKISP1_CIF_ISP_HISTOGRAM_WEIGHT_GRIDS_SIZE_V10;
> --
> 2.39.2
>
More information about the libcamera-devel
mailing list