From patchwork Mon Sep 23 06:02:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harvey Yang X-Patchwork-Id: 21324 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 DCBD6C0F1B for ; Mon, 23 Sep 2024 06:06:03 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id C9FE463507; Mon, 23 Sep 2024 08:06:02 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="AGfnR2Zz"; dkim-atps=neutral Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id B4108618DB for ; Mon, 23 Sep 2024 08:06:00 +0200 (CEST) Received: by mail-pg1-x52a.google.com with SMTP id 41be03b00d2f7-7d50e7a3652so2247245a12.3 for ; Sun, 22 Sep 2024 23:06:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1727071558; x=1727676358; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=i8YBZDM8CL6bB/YvvFxFrLkX0PRKV+yInJwZ0cLREIY=; b=AGfnR2ZzdmL7f+XHaSwthtd96fDUAGv3Pfo8oPEQxxiwWYcy1R/Dc2LWy1c1bG067A uzM9wa6GkQOPfzgQU691jX4K315LuzlFlE0GAquph+LZo1l900TXEgecxS1zbgsrVQN6 82Ozi9UTPsA1mgQwghskNEtdj8NtOzHQZhFCs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727071558; x=1727676358; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=i8YBZDM8CL6bB/YvvFxFrLkX0PRKV+yInJwZ0cLREIY=; b=Azrwz/2spmcKCHkxoAVfhed/UG2i8z25LM1hljrUBIpc9yEri5VWQonxdsc7jBdSg8 JjCRS877lRFFUMQlXwLaFw49JFb5EsBQXgv26KBNlc/UPhFphNwBeEHPIUXjmfg+vqCe boHlxIpuRfsS4GQaKmGv8K71wTP7xMYwGzv9op4wl6GWZNLE28V8w1EVAgI8dgwbcsKx WsYe+GYRcUKI2Lk9wByLuHYwqxt7D6tJmNngktN2kRfcUFier06YkddRi154Gmx7mQnS F4O3ymcBy0YAzL+Vuma/BK2zbaSw+8YeIjM70ARfRrUQHS+U8/nWpYy38dz0k5rOlVxw GCKQ== X-Gm-Message-State: AOJu0YxJ5IZoSIFkmwHfC1LdzY0aBVtLsCu9GEJzN6eB3al7p5AEKRfD Jj99ronR3gTeor/vCeYgRduJBFpH/Lbfc0QTK2AZ4Hjjuo7Z1InXAEKPIDIdv0MRL1XY9z5Fs+Y = X-Google-Smtp-Source: AGHT+IGb02PhkVWm+YqzB5NmfD3rXx8gelwpjDXeU1hvsd2T9sg3SRpc1nGvWHNVAdD1sdwtd+Q/yg== X-Received: by 2002:a17:90b:1a86:b0:2d3:d8c9:780e with SMTP id 98e67ed59e1d1-2dd80c7ec86mr13510542a91.20.1727071558198; Sun, 22 Sep 2024 23:05:58 -0700 (PDT) Received: from chenghaoyang-low.c.googlers.com.com (208.158.221.35.bc.googleusercontent.com. [35.221.158.208]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2dd50bfc88asm6369920a91.0.2024.09.22.23.05.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Sep 2024 23:05:57 -0700 (PDT) From: Harvey Yang X-Google-Original-From: Harvey Yang To: libcamera-devel@lists.libcamera.org Cc: Harvey Yang Subject: [PATCH 0/1] Add request API support for MediaDevice Date: Mon, 23 Sep 2024 06:02:34 +0000 Message-ID: <20240923060551.1849065-1-chenghaoyang@google.com> X-Mailer: git-send-email 2.46.0.792.g87dc391469-goog 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" Hi folks, This patch adds ioctl request API support for MediaDevice. It'll be used to queue requests into mtkisp7's ISPs, like Camsys, Imgsys, and AieDev: https://source.chromium.org/search?q=allocateRequests&sq=&ss=chromiumos%2Fchromiumos%2Fcodesearch:src%2Fthird_party%2Flibcamera%2Fmtkisp7%2Fsrc%2Flibcamera%2Fpipeline%2Fmtkisp7%2F This patch passed gitlab pipeline: https://gitlab.freedesktop.org/chenghaoyang/libcamera/-/pipelines/1276214 Please take a look. Thanks! BR, Harvey Han-Lin Chen (1): libcamera: Add request API support for media controller device include/libcamera/internal/media_device.h | 4 ++ src/libcamera/media_device.cpp | 87 +++++++++++++++++++++++ 2 files changed, 91 insertions(+)