[v3,5/5] ipa: rkisp1: Support the i.MX8MP ISP version
diff mbox series

Message ID 20240218164908.15921-6-laurent.pinchart@ideasonboard.com
State Accepted
Commit 059bbcdc34e7d887ee02fdd47613bd6e0eb70d16
Headers show
Series
  • ipa: rkisp1: Support the i.MX8MP ISP
Related show

Commit Message

Laurent Pinchart Feb. 18, 2024, 4:49 p.m. UTC
From: Paul Elder <paul.elder@ideasonboard.com>

Handle the RKISP1_V_IMX8MP version in the rkisp1 IPA. This enables basic
support of the i.MX8MP, excluding the processing blocks specific to the
new ISP version. Those will be supported later.

Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 src/ipa/rkisp1/rkisp1.cpp | 1 +
 1 file changed, 1 insertion(+)

Comments

Stefan Klug Feb. 23, 2024, 1:16 p.m. UTC | #1
Am 18.02.24 um 17:49 schrieb Laurent Pinchart:
> From: Paul Elder <paul.elder@ideasonboard.com>
> 
> Handle the RKISP1_V_IMX8MP version in the rkisp1 IPA. This enables basic
> support of the i.MX8MP, excluding the processing blocks specific to the
> new ISP version. Those will be supported later.
> 
> Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>

> ---
>   src/ipa/rkisp1/rkisp1.cpp | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/src/ipa/rkisp1/rkisp1.cpp b/src/ipa/rkisp1/rkisp1.cpp
> index 44401af8910d..9dc5f53cb091 100644
> --- a/src/ipa/rkisp1/rkisp1.cpp
> +++ b/src/ipa/rkisp1/rkisp1.cpp
> @@ -136,6 +136,7 @@ int IPARkISP1::init(const IPASettings &settings, unsigned int hwRevision,
>   	/* \todo Add support for other revisions */
>   	switch (hwRevision) {
>   	case RKISP1_V10:
> +	case RKISP1_V_IMX8MP:
>   		context_.hw = &ipaHwSettingsV10;
>   		break;
>   	case RKISP1_V12:

Patch
diff mbox series

diff --git a/src/ipa/rkisp1/rkisp1.cpp b/src/ipa/rkisp1/rkisp1.cpp
index 44401af8910d..9dc5f53cb091 100644
--- a/src/ipa/rkisp1/rkisp1.cpp
+++ b/src/ipa/rkisp1/rkisp1.cpp
@@ -136,6 +136,7 @@  int IPARkISP1::init(const IPASettings &settings, unsigned int hwRevision,
 	/* \todo Add support for other revisions */
 	switch (hwRevision) {
 	case RKISP1_V10:
+	case RKISP1_V_IMX8MP:
 		context_.hw = &ipaHwSettingsV10;
 		break;
 	case RKISP1_V12: