From e32d33b11d6a20d6b8f5ddd102c9083b42f15d55 Mon Sep 17 00:00:00 2001 From: Dafna Hirschfeld Date: Tue, 9 Mar 2021 07:38:29 +0100 Subject: ipa: rkisp1: Fail on init if hw revision is not RKISP1_V10 In kernel 5.11 the rkisp1 uapi had changed to support different hardware revisions. Currently only revision 10 is supported by the rkisp1 IPA and therefore 'init' should fail if the revision is not 10. This changes depends on the kernel driver reporting the hardware revision, and thus requires the rkisp1 driver from v5.11 or newer. Signed-off-by: Dafna Hirschfeld Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- include/libcamera/ipa/rkisp1.mojom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/libcamera') diff --git a/include/libcamera/ipa/rkisp1.mojom b/include/libcamera/ipa/rkisp1.mojom index 95fa0d93..29f726e1 100644 --- a/include/libcamera/ipa/rkisp1.mojom +++ b/include/libcamera/ipa/rkisp1.mojom @@ -25,7 +25,7 @@ struct RkISP1Action { }; interface IPARkISP1Interface { - init(IPASettings settings) => (int32 ret); + init(uint32 hwRevision) => (int32 ret); start() => (int32 ret); stop(); -- cgit v1.2.1