From patchwork Thu Apr 14 07:43:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kate Hsuan X-Patchwork-Id: 15674 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 8786AC3260 for ; Thu, 14 Apr 2022 07:44:20 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 1C6EA65652; Thu, 14 Apr 2022 09:44:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1649922260; bh=sXMb4eLDXUVlHPYIgZiv0Jd48uFq3r0UN0wZ2jRiNTA=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=iIQ0JAAJXsvJ1eYnGHV/2qi80jEvUSHwh2t+f7yKdUp6d5lNaVi6fT8OFhdKEzJqx YOvd5uz/UerKzV/Z0irdt3MAyrbpSgm33tGeLHy6PUAuOith7zORjPXY70iXTgaw/6 SCEpDpwY1rHmLp+KHad+fxvUc19pSvr2gS7HulNgROupqI8KW0GDJ/FSW9He/4sXik 6z/vLmJJIIkJgHsrs0FxyNyqYAyEVOd6M47z6JjHCqi1DnuNIFc6QIXDMnnRqEzBp5 KrNw6OeBUm6lhyp4ACLnR1RZFR8XbjxS8O7uZNI0yyKqapKHocFYa4zQmrrts85SSH ARoFdlk4HzZEw== Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 00870604B6 for ; Thu, 14 Apr 2022 09:44:18 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.b="P3BJwizP"; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649922257; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HbrOgi7hRpPZtf1mMNVx5/GFcUx+Gk7TPBKICdHgX5o=; b=P3BJwizPBfvpSGQv7PRgN5+ILrC17NrGuvygcOu6v4bnO/HV2PP4XIbetfL/6pPnlVGEgq hC4nNUlFRvx6nH+tCWzSfpRgLyZVcbii5dFEesIu7GRowqjxjVRat+iEQsWfx+wCQjZ0H4 4Lhxal7D9XITYEtOpu2P5YXfqKEUNd0= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-86-owyS_KvlMKaILcvvX5bmWA-1; Thu, 14 Apr 2022 03:44:17 -0400 X-MC-Unique: owyS_KvlMKaILcvvX5bmWA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id CF71C803FF2 for ; Thu, 14 Apr 2022 07:44:16 +0000 (UTC) Received: from fedora.rhtw.internal (unknown [10.39.193.169]) by smtp.corp.redhat.com (Postfix) with ESMTP id 67FEF111D3CC; Thu, 14 Apr 2022 07:44:12 +0000 (UTC) To: libcamera devel Date: Thu, 14 Apr 2022 15:43:40 +0800 Message-Id: <20220414074342.7455-4-hpa@redhat.com> In-Reply-To: <20220414074342.7455-1-hpa@redhat.com> References: <20220414074342.7455-1-hpa@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=hpa@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [libcamera-devel] [RFC v1 3/5] ipa: ipu3: Variables to hold the maximum VCM steps X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Kate Hsuan via libcamera-devel From: Kate Hsuan Reply-To: Kate Hsuan Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" They are used to place the maximum VCM steps. Signed-off-by: Kate Hsuan --- include/libcamera/ipa/core.mojom | 2 ++ src/ipa/ipu3/ipa_context.h | 1 + 2 files changed, 3 insertions(+) diff --git a/include/libcamera/ipa/core.mojom b/include/libcamera/ipa/core.mojom index 74f3339e..5378ec0c 100644 --- a/include/libcamera/ipa/core.mojom +++ b/include/libcamera/ipa/core.mojom @@ -221,6 +221,8 @@ struct IPACameraSensorInfo { uint32 minFrameLength; uint32 maxFrameLength; + + uint32 maxVcmSteps; }; /** diff --git a/src/ipa/ipu3/ipa_context.h b/src/ipa/ipu3/ipa_context.h index 103498ef..3b8aa621 100644 --- a/src/ipa/ipu3/ipa_context.h +++ b/src/ipa/ipu3/ipa_context.h @@ -27,6 +27,7 @@ struct IPASessionConfiguration { struct { ipu3_uapi_grid_config afGrid; + int32_t maxVcmSteps; } af; struct {