Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp655720pxa; Wed, 19 Aug 2020 11:08:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxir7PcHxNDnu8sCy9BiyiocIe0JRxDpGB3lXGoe5uYltPTo3C9RbYV2zI5Ra+3SOY/sgTe X-Received: by 2002:a17:906:e289:: with SMTP id gg9mr27793274ejb.448.1597860504284; Wed, 19 Aug 2020 11:08:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597860504; cv=none; d=google.com; s=arc-20160816; b=kkfbzKEZaSK+D8F+aN3ghQs5b64d+KkLtNHPO9TZxb5K3BtHYjxfWWVwiv0C/5Qz13 G6bd2Q9eBgNIR1ZpHaksEdm91Kp3SU0kSMNiS0T5VFtDbQODKC8yHzQPHYy3MyB1QqZW 8LVgH34ZQIp7mTwRLLG6Fya+klaGXjKMKxekm5w0yn2+PDoHA9eKAbGFfmiCin2yQW26 YkSWQdchYw5WhqaILo5zFAKs+hfnITEMUiFgCbRDqXUOA9aT9AXd/+XNOd8YtLsdvCgE J37BME5EUgTRwsn7d0FLrJUFq+TWeIpBFXoiodj/LSPVLPxWgbW8RrFHFqBTSlkmTxua frAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=kKcbDGsNXR/gUklWkntLlTLukPDw/mCQ/tOLvh4gtJ4=; b=Pbrtn7Nz3DJP2PdhnrVcut1eeHdekcHR9DzMa8DBVvTrS1Q7rAPb/pig4asU6tWSDz ohokbVs85Z7Ypi03KZeSf0xMeCqhTeK3YrRcM+xJARrw3KNVvrYTjUIzxwurJrEAPgHO pAcUFzcVm60VghkhiHR5weQiUEcPvK9RivcrWmdtCyU3/SrGBSrPBbMZal2aH+2OOzMi PQp8c4F7CQNAh4A2lsd0LyN4J5zaRWZBB8WD915lq74Z9l0uHTiwprXV4NQnGJrYouLt q+DiF7Fg2OHpPimEXIok1t+zvBUl0N/PAcvWtPzJjFhevl1zGbYKa0uRyTD8mNy9Iglk iN4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@es-iitr-ac-in.20150623.gappssmtp.com header.s=20150623 header.b="Vmzz/Jtf"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=iitr.ac.in Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n29si19849018eda.587.2020.08.19.11.08.00; Wed, 19 Aug 2020 11:08:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@es-iitr-ac-in.20150623.gappssmtp.com header.s=20150623 header.b="Vmzz/Jtf"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=iitr.ac.in Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726854AbgHSSFA (ORCPT + 99 others); Wed, 19 Aug 2020 14:05:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726788AbgHSSE5 (ORCPT ); Wed, 19 Aug 2020 14:04:57 -0400 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21766C061757 for ; Wed, 19 Aug 2020 11:04:57 -0700 (PDT) Received: by mail-pg1-x543.google.com with SMTP id d19so11765490pgl.10 for ; Wed, 19 Aug 2020 11:04:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=es-iitr-ac-in.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kKcbDGsNXR/gUklWkntLlTLukPDw/mCQ/tOLvh4gtJ4=; b=Vmzz/Jtfk2Larct/OXM2pnmdcVgqLMnpREk70dA9TyIm/f662ExqccWAvE4DUqtkxO /s0gT7nsm5r4NnV5uSzed/Gt56BKj5QYl6Zm4xvVgBAluEeFTQArvf8i3Sq6qDmqSiyk Byn7r1F1RZ39UKGAsozjBnRv5rIa+1JUSpiDgattAQYK3LqG1WCcdWKuBCmdsES1GPN5 ONBSaT6mm9czyXVttvVu5GQwdLir3b5FY2un8oQz95jR2A/qbNQT3z7bg8GuvZbdUlS2 g2tA1bkXxbGC6IydU00lA5tx9U/1tDS8eSe35CBQwPQxaTxbYTerwaBmHv7cDSaRGlxe 5joQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kKcbDGsNXR/gUklWkntLlTLukPDw/mCQ/tOLvh4gtJ4=; b=CRey/XTrQCOeVMbMVRufHYm3BCLNfalFCc13+YE3rzRmWT9zCc5BXzWB6ZI7KlwcIF VNaw5xc3Eq/5MytD+AgkoMyDcEiLIXbvwF4yT4ZGtpgwCwmI/VRYKkEUN8GWZvEl97G2 KtuWB4fKokObRkzKKw97NpbQMpBbfmUdsKmY+xLVVEhCTBTqgJzBw/2XpbBb6kVdp5F/ 1YaMBoWwh5RpzyinKEldSt6KBzni0qADgaDHUOC+E/nnIrBMbKN2SkAgF6yGtvPNwB0Z nRniZBSRHMCE93yItLtWsE69KSZXs3YwpgcAWhf1KgNgf+kciwUO8+PG9jMxYr/jVHT/ ecXw== X-Gm-Message-State: AOAM533N6gKePCrIVxYR49w7dv36hg9lCw3t0QEKRj5F2h/9FyvgaZb8 wnOZ1wkSdfE+BZM/yc2B2NvQ7Q== X-Received: by 2002:a65:4148:: with SMTP id x8mr17294005pgp.245.1597860296649; Wed, 19 Aug 2020 11:04:56 -0700 (PDT) Received: from kaaira-HP-Pavilion-Notebook ([103.113.213.179]) by smtp.gmail.com with ESMTPSA id o15sm29967669pfu.167.2020.08.19.11.04.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Aug 2020 11:04:56 -0700 (PDT) From: Kaaira Gupta To: Helen Koike , Shuah Khan , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Kieran Bingham Cc: Kaaira Gupta Subject: [PATCH v3 0/9] media: vimc: Multiple stream support in vimc Date: Wed, 19 Aug 2020 23:34:33 +0530 Message-Id: <20200819180442.11630-1-kgupta@es.iitr.ac.in> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds supoort for two (or more) capture devices to be connected to the same sensors and run simultaneously. Changes since v2: - This series introduces new patches, namely patch 1, 2, 4, 5, 7, and 9 to shift multiple captures to operate at a single thread. Kaaira Gupta (7): media: vimc: Move get_source_entity to vimc-common media: vimc: Add get_frame callback media: vimc: Separate starting stream from pipeline initialisation media: vimc: Separate closing of stream and thread media: vimc: Dynamically allocate stream struct media: vimc: Join pipeline if one already exists media: vimc: Run multiple captures on same thread Niklas Söderlund (2): media: vimc: Add usage count to subdevices media: vimc: Serialize vimc_streamer_s_stream() .../media/test-drivers/vimc/vimc-capture.c | 42 +++- drivers/media/test-drivers/vimc/vimc-common.c | 14 ++ drivers/media/test-drivers/vimc/vimc-common.h | 21 +- .../media/test-drivers/vimc/vimc-debayer.c | 26 ++- drivers/media/test-drivers/vimc/vimc-scaler.c | 25 +- drivers/media/test-drivers/vimc/vimc-sensor.c | 17 +- .../media/test-drivers/vimc/vimc-streamer.c | 213 ++++++++++++------ .../media/test-drivers/vimc/vimc-streamer.h | 2 + 8 files changed, 271 insertions(+), 89 deletions(-) -- 2.17.1