From patchwork Wed May 21 10:19:52 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 23408 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 ECAF9BD78E for ; Wed, 21 May 2025 10:22:17 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 6B6AF68D7E; Wed, 21 May 2025 12:22:15 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="P0nJsyYI"; dkim-atps=neutral Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 6E36E68C91 for ; Wed, 21 May 2025 12:22:12 +0200 (CEST) Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-442ea0f72f4so3447195e9.0 for ; Wed, 21 May 2025 03:22:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1747822932; x=1748427732; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ll0ss0qf5FTU+9HFVeKlBOW0z6NjroszVZnjlX4zETQ=; b=P0nJsyYIDL0m4YSJz5Ffn8Zu/Yj4adTvXvz/+jATAeAL9GNaQqtG8YgOTYOK9RdX77 n/TkNWlUGnUL4pooMSjisRSXCHWbT0WuVGoTgrpzptsXKjClVFPp6AFWbvSKBnUkwikx ZMYo9H6ZOToyv4RObWa2yfbxtEGshWGYJYm0RMj/4NMhGEGpVuuws1Rd4DWstvdhRuZY I6VOvK4iB6XBAuOPv1tCAKwDGJgfMnLfPKpFs+coxefmYsQSnDr1ciIkB+Yq0Nm1vO5u M1mOblhrClHMrLV1eYQfeKyRgYqv8TjnaGhcu7UKw83TvlxqF3Ywp4vBxOZqtSqhrFgI enjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747822932; x=1748427732; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ll0ss0qf5FTU+9HFVeKlBOW0z6NjroszVZnjlX4zETQ=; b=dYaXb2SIt5bMTLW2PmBHVsT67BG5y1kf96H76cHNr9TQYD3qZX1P5W9Saoz+4AudCJ d9cGB0U8REa8IOMlJcUw+33MMcyEftePBjBGN7Kw8Ie4/fWemJBq46bugJdci5LFIucI HXiO7NYB54BIhlJE1SoPAXbq87CVXi76RBLs6ZVSIiD3NwGaaD9TNVXyQkiqXOfFjepe X3CPhbR+SMdpDVtOLtW8CiUAzlude0VVqOSY2azLqxFvGJMe3BMiZU7cg50T2DwTvdEb MJgp3s/iFsJLPAh1Vz8mvYYeMRZEWNUu14FtG/HUDF7Zb2A9aJviX+5uM4Ye5yXYSvmv Cvyw== X-Gm-Message-State: AOJu0YxMkxDuFgF0y8L/NnyEL+YaL0Z+8KS0rC6hv1qqcg9wtFOgvdwI neJi5GtVczVD3u0y4cGC65h8w1krBGvrOBvbPbsH2Y6oE5duY/LBOoBA8hLsqAq4tTSZVVHba48 VKLlQ X-Gm-Gg: ASbGncuve4M2lnceItIdyvh/imQ1Y2KMCN9gMIxVePwYeCh7mJs6QQXSv3BnYfAIOHk cAGe35AoyQ0p70f2y/fAJl4J5yXomvr2pnGlIqaEXkAssvTaMPUZN87ksZffh0/TYHL3vbAPQW2 HexxT6c/pVxJwkmvOM56pY0CNy3phozH1tJuBZVnwLHE2EGL2vnKdFGUdd+5ZSQ8KMgGKibdKDi X5Qdt1kqHFslPqMfIPQQZ4jqlNBE4/s6y4+yr4egScdPc3ZqszPZl/WWXzGi3IqGmq/c2hZdTNt 4+4FfF4B1oThIhALHhDGAdggGrvf9x5at+6zvlelnvelHNsPHrlgZYTODMzxectoRBOg5QI= X-Google-Smtp-Source: AGHT+IGBC+U60umiNVD76YbmxNcdRB/JjtFbyG2BCzdc+bkMi+D6Kcb1+yCWRU/c2bdYC/y1uGqSWQ== X-Received: by 2002:a05:600c:3b95:b0:43d:2318:ed7f with SMTP id 5b1f17b1804b1-442fd5a2cb4mr67908685e9.0.1747822931782; Wed, 21 May 2025 03:22:11 -0700 (PDT) Received: from NAUSH-P-DELL.pitowers.org ([93.93.133.154]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-447f6f062fcsm62216535e9.15.2025.05.21.03.22.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 May 2025 03:22:11 -0700 (PDT) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Cc: Naushir Patuck Subject: [PATCH v1 2/2] libcameara: sensor: Fix the gain delay for IMX283 Date: Wed, 21 May 2025 11:19:52 +0100 Message-ID: <20250521102208.989701-3-naush@raspberrypi.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250521102208.989701-1-naush@raspberrypi.com> References: <20250521102208.989701-1-naush@raspberrypi.com> MIME-Version: 1.0 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: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The IMX283 uses a gain delay of 1 instead of the current value of 2 as defined in the sensor properties. Fix it. Signed-off-by: Naushir Patuck Reviewed-by: Stefan Klug Reviewed-by: Kieran Bingham Acked-by: Paul Elder --- src/libcamera/sensor/camera_sensor_properties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcamera/sensor/camera_sensor_properties.cpp b/src/libcamera/sensor/camera_sensor_properties.cpp index e2f518f9ea62..c9e9e148a1f0 100644 --- a/src/libcamera/sensor/camera_sensor_properties.cpp +++ b/src/libcamera/sensor/camera_sensor_properties.cpp @@ -194,7 +194,7 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen .testPatternModes = {}, .sensorDelays = { .exposureDelay = 2, - .gainDelay = 2, + .gainDelay = 1, .vblankDelay = 2, .hblankDelay = 2 },