From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.181 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795921731; b=lwjmvxgLLIvI4f5FskFJpZHqmlTWPH3Zf+I+TfpKDEbG4ZBp3B5pyM4DhMW07DDM3tXt I+itrl2llCZ8ok2GdtuwojHhIJg7AAPi4TURDPIDbcUESvl0+HftC3HA6NqQpkA0NJ//4 57e283m8vjK8EcvizJOfivenKPlpAsfv+FMMeoxCalAw9e3GsvSJ0vk00PJnQe19U/H60 fLQvNxxBZVEDAP82CfhxlKvIUv2k/mq1r9AddCISNyxRak0bKPQdVHh5ZM2U2YXhgCwEo 8dKmjenHq0SpunRZeUpX/N/ivyG+BbRuhhbN/ZCkaU5sCbJGjDQvzhDu8DE02jddnmA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795921731; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=hw/EK91ijD7o87y48iYSFVO8wTRQNUHNKV0bY8P+U30=; b=RqiPALdxT9hdmsIW1t9v3QkxlZdhns4V3n+LoJPhlmOHABwEEf9n+byVnck4bDvOQ5+d 10gE5pGLIGKzGwWd8EbnOXxeOdHnIUIdQ8/DhY+9P4psiDvTzPi5fR4uE8EKSOOPeHRo5 H8X6GEzbB7hEfToxE6uH6xUI4gGgPWPoSkou55NwUt81TrN11UTtXG64nWv8GvksGl7C/ ZRwbAbFNTM4SCQ7B9m3mg0w0ICyLBVRpbzcuP2uJ8ArzWJGZHD0YHGts0+fLO80CZOuFs 7P1TYt+4WfGUethJjUCae5wZYD9XKPBTBBRqJGQmx91hCslENZ2mID3Txfcyxapma6g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=YHcWaz0A; arc=none smtp.remote-ip=74.125.82.181 Received: from mail-dy1-f181.google.com (mail-dy1-f181.google.com [74.125.82.181]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D4D0C606A323 for ; Sun, 29 Nov 2026 03:08:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D4D0C606A323 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=YHcWaz0A Received: by mail-dy1-f181.google.com with SMTP id 5a478bee46e88-33c10faf6easo1267061eec.0 for ; Sat, 28 Nov 2026 19:08:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795921730; x=1796526530; darn=vger.kernel.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:content-type; bh=hw/EK91ijD7o87y48iYSFVO8wTRQNUHNKV0bY8P+U30=; b=YHcWaz0A9ABpHa7+k8OEJSVc0yexGbVF6xX7ovHvdjr0PiFBBu4s/lCbOFE1JLoE5E TRZT6wjfxPXdC1dPsCkytbiYVZ7HSjC/FsUosnHKLi/jw95KWgPuvSytaW0dF/+OttoE O8h/Smu5no2HIMZfaoR7fnHT9KNH5nv6872LZqIQvSG7HuOZZ4jiNkABRfWhOBADmNBk bONbq7oLnYrvj5ow7wHj0omrpOJJrw+ZETChCqN5o+5iWL2/AZxBqgjScHkdYGughDfJ 0Ko/SF/8KHLOCGfjxrW9miBfS/8cky9+i/S7NcdVfxw19iW/IfZohgtGC0EvVnJRu1Uf NQ1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795921730; x=1796526530; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=hw/EK91ijD7o87y48iYSFVO8wTRQNUHNKV0bY8P+U30=; b=TzAZs42rPasusjQ54w0Z590MtNqJ0MyMMw1dvQ32ImfgEzDySf8uC6KeP50c4XWC5v mya0GAdnIUVNb5tF7ymeN18GX9vKR9Y/+Y3uHEP2MoCLzg2oiO+wFUIs6aDgYWw4YlZX +Anw80BLn4NJhBh3aUZEMJcDuazLIzKO/T7VWtmcsiUmCcPtkhTMBQpw1oo8S3Rhpo+q qu1ntZkbbJHU+KSBUfUBnD2dahlWYydx3qp7S/cF3U3X/G/C9fratiQeAZGIpd0KIT8g 6KJl16H//Uacs2rsBV0803/1bsfvAQu3LF5sHXfQtP1dPsAEdFshtyAnzv/yRICzK2V2 2GfA== X-Forwarded-Encrypted: i=1; AL+hErGyBIms9O2ifsOaq765GE+Zj4d2U3SjytZFYBciRBcMm/s0AON+p9qXk9ULKrbTG1FFlbbn5bjGG1w45ec=@vger.kernel.org X-Gm-Message-State: APuU4Z9Kc0xFhgVcnPBuT3q/AUGQwqcWo7/vYCLR9OyO73eSNi3VVJqD 7Gm893p0KAP3zYpZql5xt3KnrkXzAvCkDOTvM7mOALHMiMluYEIVzhwQG4UdABkHZ8w= X-Gm-Gg: AZFdTZdNhTIG5NPsl+bhTh4I5WLxT3rhEUkKxS7DqiIZjfEgjvlHtExgDECXQKlcE0B jvsWXpe5GOHCXKHxCmycdcQpr31RqoQfoZiU14vm3D23D1X1krHYtUs0qNxLVzygIPpFuOGe7Bb X+JLyG7U/cVOiLl6YV0ZDftehM28fuS2FpQg9h0o6w5cg07sirkzBiENYtP0cUeOyQ6nYEsWNmO 77z+XScbMXhS21c86v5WyjSr+gIwRPDaG5OFc7bEgDR/OSa6ZOmDUl7ffddcFdsfocQwiwLkvu+ DSh9lWA/hUcjTYX2J+zIYWxs+Q5QPCLDUPixALXBJGxSAVu4mDE5Etr50szITyobhnVCOKtluyP BKq7FO/C+OzQFVu0sctBmrjEJiuOiYv5vKXjTmSOmrASj1l6NlC0Kez7NzkR6Mr5WT60t1E74Xc O+Kzm+6RNKwSSgiq5zhIB0gXj9yd8nJZMQ7/VS88NWAmZ6kss986P3+hqREgPLpxgdnjm8tPCmO /NTrDShDngj1AQ+XqvN/Ko/nYMAmsU6iy/z4aV8IjjCKZiKZZRR6Oxbvy4qAWftPUdKTQRWh5TE 4fXn5cJZEsnc947RV3So7zle9qxt1US+7ceKH35gpjHMTQ1hTtDb9pKOuOXiV0VkCLfwvAGBrLQ aeHi5N3mWeMw1r18IETSHl3UiM2/2x0XK0VIVN775buZePFy8iJUrLze22itHNl3axwm+IrY2TW Hi2SsSGCGiyU0zMSncm071q2XYOw0Oocpwzg== X-Received: by 2002:a05:7300:16a3:b0:36d:5fbc:8c8d with SMTP id 5a478bee46e88-3856ef457b6mr41665392eec.2.1795921729901; Sat, 28 Nov 2026 19:08:49 -0800 (PST) Received: from esteban.lan ([2001:f71:5160:2b00:ae2a:b9d5:71b7:3bb9]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-38567daaf70sm87609004eec.28.2026.11.28.19.08.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Nov 2026 19:08:49 -0800 (PST) From: Antoine Pichot To: Robert Ijtsma Cc: Sakari Ailus , Mauro Carvalho Chehab , Jacopo Mondi , Todor Tomov , Dave Stevenson , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/3] media: i2c: ov7251: use pm_runtime_put_autosuspend() Date: Sun, 29 Nov 2026 12:08:46 +0900 Message-ID: <20261129030846.4141522-1-antoine.pichot@gmail.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261128-ov7251-strobe-ncont-v2-2-9428bbb6347e@gmail.com> References: <20261128-ov7251-strobe-ncont-v2-0-9428bbb6347e@gmail.com> <20261128-ov7251-strobe-ncont-v2-2-9428bbb6347e@gmail.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Robert, Thank you for the v2. Patch 2 works well on my Surface Book 2, on top of my v3 series with the Intel IPU3 camera interface. I compared a module built from my v3 with one built from v3 plus your series: - Power-off: the sensor now powers off 1.25 s after a stream stops (the 1 s delay plus the runtime PM core's 25% timer slack). Before, it powered off at the stop after a 1.2 s stream, and about 1 s after the stop of a 0.2 s one, as the delay counted from power-on. I streamed 35 or 5 frames at 30 fps with v4l2-ctl, then read the sensor's runtime_status in sysfs every 20 ms until it read "suspended", three times for each length. - Restarts: a stream started within that 1.25 s gives the same strobe registers and frame brightness as one started after the power-off, at 30 and 60 fps. With the strobe on, I read 0x3005, 0x3b81 and the strobe span registers over I2C 1 s into each stream, and compared the mean brightness of lit and dark frames over 120 frames. - Emitter: the strobe output stays enabled (0x3005 = 0x08) while the sensor waits in standby, but the emitter goes dark when the stream stops. I filmed it with a phone through three 3.1 s streams with the strobe on, and no light appeared after any of the stops. Tested-by: Antoine Pichot # Surface Book 2 (IPU3) Kind regards, Antoine