From patchwork Mon Jul 19 19:14:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 13044 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 1D518C322B for ; Mon, 19 Jul 2021 19:14:57 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 7EE9C6853D; Mon, 19 Jul 2021 21:14:56 +0200 (CEST) Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 6BC096851F for ; Mon, 19 Jul 2021 21:14:55 +0200 (CEST) Received: from localhost.localdomain (unknown [IPv6:2804:14c:1a9:2434:2e2f:cb19:fca8:1dff]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nfraprado) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 8AC991F42E0E; Mon, 19 Jul 2021 20:14:53 +0100 (BST) From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: libcamera-devel@lists.libcamera.org Date: Mon, 19 Jul 2021 16:14:35 -0300 Message-Id: <20210719191438.189046-1-nfraprado@collabora.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/3] libcamera: pipeline: Add internal request queue 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: , Cc: kernel@collabora.com, =?utf-8?q?Andr=C3=A9_Almeida?= Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" This series adds an internal request queue for the rkisp1, uvcvideo and vimc pipeline handlers. Each patch is independent of the others, but I've grouped them in this series because they're very similar, so it should ease the review. The patches here are based on these patches that added the same functionality for the ipu3 pipeline handler: 5a9d19210fad ("libcamera: pipeline: ipu3: Try queuing pending requests if a buffer is available") and 89dae5844964 ("libcamera: pipeline: ipu3: Store requests in the case a buffer shortage"). With these patches applied, the lc-compliance test from [1] passes in all three pipeline handlers. [1] https://lists.libcamera.org/pipermail/libcamera-devel/2021-July/022356.html Previous standalone versions of the patches: uvcvideo [2] and rkisp1 [3] [2] https://lists.libcamera.org/pipermail/libcamera-devel/2021-July/022029.html [3] https://lists.libcamera.org/pipermail/libcamera-devel/2021-July/022135.html NĂ­colas F. R. A. Prado (3): libcamera: pipeline: vimc: Add internal request queue libcamera: pipeline: uvcvideo: Add internal request queue libcamera: pipeline: rkisp1: Add internal request queue src/libcamera/pipeline/rkisp1/rkisp1.cpp | 73 ++++++++++++++++---- src/libcamera/pipeline/uvcvideo/uvcvideo.cpp | 66 +++++++++++++++--- src/libcamera/pipeline/vimc/vimc.cpp | 65 ++++++++++++++--- 3 files changed, 170 insertions(+), 34 deletions(-)