Patch Detail
Show a patch.
GET /api/1.1/patches/15712/?format=api
{ "id": 15712, "url": "https://patchwork.libcamera.org/api/1.1/patches/15712/?format=api", "web_url": "https://patchwork.libcamera.org/patch/15712/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20220426055830.8999-4-hpa@redhat.com>", "date": "2022-04-26T05:58:29", "name": "[libcamera-devel,v3,3/4] libcamera: pipeline: ipu3: Get and set VCM information", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "a58ece76ac7aa3c61be5d5382428fbd4a602e6d5", "submitter": { "id": 105, "url": "https://patchwork.libcamera.org/api/1.1/people/105/?format=api", "name": "Kate Hsuan", "email": "hpa@redhat.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/15712/mbox/", "series": [ { "id": 3069, "url": "https://patchwork.libcamera.org/api/1.1/series/3069/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3069", "date": "2022-04-26T05:58:27", "name": "Enabling AF algorithm to get the VCM attributes from the device driver", "version": 3, "mbox": "https://patchwork.libcamera.org/series/3069/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/15712/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/15712/checks/", "tags": {}, "headers": { "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>", "X-Original-To": "parsemail@patchwork.libcamera.org", "Delivered-To": "parsemail@patchwork.libcamera.org", "Received": [ "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id C5AB4C0F1B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 26 Apr 2022 05:59:46 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 794036564A;\n\tTue, 26 Apr 2022 07:59:46 +0200 (CEST)", "from us-smtp-delivery-124.mimecast.com\n\t(us-smtp-delivery-124.mimecast.com [170.10.129.124])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 787B565646\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 26 Apr 2022 07:59:45 +0200 (CEST)", "from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com\n\t[66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS\n\t(version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n\tus-mta-643-jrTlArT_PqWgo1ooDkTeiA-1; Tue, 26 Apr 2022 01:59:43 -0400", "from smtp.corp.redhat.com\n\t(int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3C74518812C5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 26 Apr 2022 05:59:33 +0000 (UTC)", "from fedora.redhat.com (unknown [10.39.192.178])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id B0077112131E;\n\tTue, 26 Apr 2022 05:59:11 +0000 (UTC)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1650952786;\n\tbh=Bat78dW5kjggr6YCiiPT6PXmwu/0pDYbqCe9NPscKKc=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=2OrYlepbOqh8I+q0K5fza56Lz7S0SgQ/P4drXm2zNwnsH+CBIVfVFY/ebvqjvmPkv\n\t+RuwGbBtQabTUp9lSjPCjKlgAahoImTXNHPOacxAF6V9/Uvh1Rvvt8Vt7IIEtuSnuK\n\tWg23YIKVsnVMw3F+pqnG0Psow6pBae63yequ9FuxFEYKOxKvdpVqGmweQG1P9561pS\n\tSD37RaeQCQwvBlczlDJnbiIfPq5QPwRVlSutQ30nz0l9D8AUg29KanHwOfGnsLbLJE\n\tgHGOpvXuYWpaXWvEaiW7wgnW4hJqSrA7G0528X8Xo+hOdjb/5Sg8DgEDk1OnjmUY65\n\tvh0aHRM/RYWOw==", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n\ts=mimecast20190719; t=1650952784;\n\th=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n\tto:to:cc:cc:mime-version:mime-version:content-type:content-type:\n\tcontent-transfer-encoding:content-transfer-encoding:\n\tin-reply-to:in-reply-to:references:references;\n\tbh=jc3ShkqkQ+Ujg8leOQE72MJg3eDxmyju53HYJyeTAVY=;\n\tb=LbHWvWir6/e8x/y9QMrh0FNMSHESN1jNC0gimKReV0N7Iwy0q0dzEc4XeTqNT6/+ICBiUe\n\t8n39aDOhWTD30Xzud/bU5rNt+dvxTBmh9wVb48EsagfUS3uOQNnyXXr6U7IMdKhglDsUjE\n\t2UH0VSTyxK6M1j6gBm2Wtm+ufLi4qFQ=" ], "Authentication-Results": [ "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=redhat.com\n\theader.i=@redhat.com header.b=\"LbHWvWir\"; \n\tdkim-atps=neutral", "relay.mimecast.com;\n\tauth=pass smtp.auth=CUSA124A263 smtp.mailfrom=hpa@redhat.com" ], "X-MC-Unique": "jrTlArT_PqWgo1ooDkTeiA-1", "To": "libcamera devel <libcamera-devel@lists.libcamera.org>", "Date": "Tue, 26 Apr 2022 13:58:29 +0800", "Message-Id": "<20220426055830.8999-4-hpa@redhat.com>", "In-Reply-To": "<20220426055830.8999-1-hpa@redhat.com>", "References": "<20220426055830.8999-1-hpa@redhat.com>", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 2.78 on 10.11.54.3", "X-Mimecast-Spam-Score": "0", "X-Mimecast-Originator": "redhat.com", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain; charset=\"US-ASCII\"; x-default=true", "Subject": "[libcamera-devel] [PATCH v3 3/4] libcamera: pipeline: ipu3: Get and\n\tset VCM information", "X-BeenThere": "libcamera-devel@lists.libcamera.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "<libcamera-devel.lists.libcamera.org>", "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>", "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>", "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>", "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>", "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>", "From": "Kate Hsuan via libcamera-devel <libcamera-devel@lists.libcamera.org>", "Reply-To": "Kate Hsuan <hpa@redhat.com>", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "The VCM step value is stored in ConfigInfo if lens exists.\n\nSigned-off-by: Kate Hsuan<hpa@redhat.com>\n---\n src/libcamera/pipeline/ipu3/ipu3.cpp | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)", "diff": "diff --git a/src/libcamera/pipeline/ipu3/ipu3.cpp b/src/libcamera/pipeline/ipu3/ipu3.cpp\nindex fd989e61..f5cd2173 100644\n--- a/src/libcamera/pipeline/ipu3/ipu3.cpp\n+++ b/src/libcamera/pipeline/ipu3/ipu3.cpp\n@@ -665,8 +665,10 @@ int PipelineHandlerIPU3::configure(Camera *camera, CameraConfiguration *c)\n \tconfigInfo.sensorControls = data->cio2_.sensor()->controls();\n \n \tCameraLens *lens = data->cio2_.sensor()->focusLens();\n-\tif (lens)\n+\tif (lens) {\n \t\tconfigInfo.lensControls = lens->controls();\n+\t\tsensorInfo.maxVcmSteps = lens->getMaxFocusStep();\n+\t}\n \n \tconfigInfo.sensorInfo = sensorInfo;\n \tconfigInfo.bdsOutputSize = config->imguConfig().bds;\n", "prefixes": [ "libcamera-devel", "v3", "3/4" ] }