{"id":19976,"url":"https://patchwork.libcamera.org/api/covers/19976/?format=json","web_url":"https://patchwork.libcamera.org/cover/19976/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20240502080925.31730-1-naush@raspberrypi.com>","date":"2024-05-02T08:09:20","name":"[v1,0/5] Pre Raspberry Pi 5 support changes","submitter":{"id":34,"url":"https://patchwork.libcamera.org/api/people/34/?format=json","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"mbox":"https://patchwork.libcamera.org/cover/19976/mbox/","series":[{"id":4283,"url":"https://patchwork.libcamera.org/api/series/4283/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=4283","date":"2024-05-02T08:09:20","name":"Pre Raspberry Pi 5 support changes","version":1,"mbox":"https://patchwork.libcamera.org/series/4283/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/19976/comments/","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id A3469BDE6B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu,  2 May 2024 08:09:38 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 9B17F63417;\n\tThu,  2 May 2024 10:09:37 +0200 (CEST)","from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com\n\t[IPv6:2a00:1450:4864:20::22c])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id A33B561A89\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu,  2 May 2024 10:09:34 +0200 (CEST)","by mail-lj1-x22c.google.com with SMTP id\n\t38308e7fff4ca-2e1ff3093f2so2265661fa.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 02 May 2024 01:09:34 -0700 (PDT)","from localhost.localdomain ([188.39.149.98])\n\tby smtp.gmail.com with ESMTPSA id\n\tp12-20020a05600c1d8c00b0041bcb898984sm1049970wms.31.2024.05.02.01.09.32\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 02 May 2024 01:09:32 -0700 (PDT)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"pP635tBB\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google; t=1714637373; x=1715242173;\n\tdarn=lists.libcamera.org; \n\th=content-transfer-encoding:mime-version:message-id:date:subject:cc\n\t:to:from:from:to:cc:subject:date:message-id:reply-to;\n\tbh=E2xwwgwZ+bQmiZiu7q3cuN2mBQEk9rmOmTPCpCwF8WM=;\n\tb=pP635tBBJ5wLua/uqg4oAtm2vhytlgKibgU2OzEBmHjJ7lWuEUt54y56D6ZzrMX+sj\n\tJN/gF05YzMJDYGBvkKcNWAJx7Vy1PmljctUKORm/UrDoXGL+VCd4MgR++UdTlbywDuGc\n\tkW9IutdlAD6BLYHPtQfXGe4OJElRWc8C9xNM+VFz4gXbFwgRsgVkxVXMmw8Viu4R8kip\n\tpwghO8WXjqvDK8J/WYcSujTKdp4ZysMWeaaOiRqoNOusRX1nbZTIbLqb4OFCmfpoUWNo\n\tAbiNWVVzpYs0vulieGYz8pUNYImIm0iHCWwe5loIs4EUbfAqvYoTFaO0lZ/wIbbqGkFg\n\t7s/Q==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1714637373; x=1715242173;\n\th=content-transfer-encoding:mime-version:message-id:date:subject:cc\n\t:to:from:x-gm-message-state:from:to:cc:subject:date:message-id\n\t:reply-to;\n\tbh=E2xwwgwZ+bQmiZiu7q3cuN2mBQEk9rmOmTPCpCwF8WM=;\n\tb=C4GltfDvMtnIGRzg3bcUctvKSZHVTDm851NuP065Fp7NPQbmqGhvepkNsEvQ8kdMh4\n\t6ZS2XAFJtHX3wwxQdFee3rwK70KKJInvN4Vpb/F+DHOtKZMs6BDpQTzCWce6FMUNIwc+\n\tnaeJM9g9s16FUMbQNUy7jvK0S/No/08ISIljobpHQeXoKYp2hcV2J4ocm5hnBg3AkDPP\n\tYjQOEBLH0WRdPI4JzJT4FuahSPpv+4q3s+2fujKONkZSJ+yfq7CODDB6RJfICZyhVJ7p\n\tz6Llw6w7Z3Zui+/hRWdmHqqbscYNmSqu2w/kmLg5UmuibcOFS2adr6zi/2eJta3prUlX\n\tyBbA==","X-Gm-Message-State":"AOJu0Ywpoj/nctori6ua2XHqAZGMp3upD6udnXIwDt6PLZcrs6VrWY9b\n\twSKSBBvmCR7DPHD2wx0EoZewiwQAjVV79UvIFtypKtsHQIhC1S1D/BV2wjKl2v36y8bVGug3vis\n\tW","X-Google-Smtp-Source":"AGHT+IH5Awb7zJk87gW3MJ9GdQ9wG7TTfG8yFmnSX4DY221+bHlX+K7UyWX1DPp3SDm9Ss2vCJ3IrA==","X-Received":"by 2002:a2e:98d2:0:b0:2e1:aa94:cf48 with SMTP id\n\ts18-20020a2e98d2000000b002e1aa94cf48mr1565188ljj.20.1714637373159; \n\tThu, 02 May 2024 01:09:33 -0700 (PDT)","From":"Naushir Patuck <naush@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"Naushir Patuck <naush@raspberrypi.com>","Subject":"[PATCH v1 0/5] Pre Raspberry Pi 5 support changes","Date":"Thu,  2 May 2024 09:09:20 +0100","Message-Id":"<20240502080925.31730-1-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.34.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hi all,\n\nThis series adds some preliminary changes to libcamera for Raspberry Pi 5\nsupport.  The patches for the Pi 5 pipeline handler and IPA will be sent in\nanother series.  However, these patches can be merged ahead of that.\n\nPatches 1 and 2 are updates from a previous series I submitted a while back [1].\nI have addressed Jacopo's feedback comments and moved them into this series.\n\nPatch 3 adds HDR algorithm support to the RPi IPA and updates the VC4 tuning\nfiles with the AGC channel config for HDR.\n\nPatches 4 and 5 are minor changes needed in preparation for the Pi 5 pipeline\nhandler and IPA.\n\nThanks, Naush\n\n[1] https://patchwork.libcamera.org/project/libcamera/list/?series=4169\n\nNaushir Patuck (5):\n  libcamera: formats: Add RGB48 formats\n  libcamera: formats: Add PiSP specific image and config buffer formats\n  ipa: rpi: Add HDR support\n  ipa: rpi: Move variables from private to protected\n  libcamera: shared_mem_object: Remove is_standard_layout restriction\n\n include/libcamera/internal/bayer_format.h     |   2 +\n .../libcamera/internal/shared_mem_object.h    |   2 +-\n include/linux/drm_fourcc.h                    |   9 +\n include/linux/videodev2.h                     |  25 +\n src/ipa/rpi/common/ipa_base.cpp               |  78 ++-\n src/ipa/rpi/common/ipa_base.h                 |  13 +-\n src/ipa/rpi/controller/rpi/hdr.cpp            | 112 +++-\n src/ipa/rpi/controller/rpi/hdr.h              |  10 +-\n src/ipa/rpi/vc4/data/imx219.json              | 607 ++++++++---------\n src/ipa/rpi/vc4/data/imx219_noir.json         | 607 ++++++++---------\n src/ipa/rpi/vc4/data/imx290.json              |  15 +-\n src/ipa/rpi/vc4/data/imx296.json              |  17 +-\n src/ipa/rpi/vc4/data/imx296_mono.json         |  17 +-\n src/ipa/rpi/vc4/data/imx378.json              |  15 +-\n src/ipa/rpi/vc4/data/imx477.json              | 615 +++++++++---------\n src/ipa/rpi/vc4/data/imx477_noir.json         | 607 ++++++++---------\n src/ipa/rpi/vc4/data/imx477_scientific.json   |  15 +-\n src/ipa/rpi/vc4/data/imx477_v1.json           |  15 +-\n src/ipa/rpi/vc4/data/imx519.json              |  15 +-\n src/ipa/rpi/vc4/data/imx708.json              | 555 ++++++++--------\n src/ipa/rpi/vc4/data/imx708_noir.json         | 555 ++++++++--------\n src/ipa/rpi/vc4/data/imx708_wide.json         | 555 ++++++++--------\n src/ipa/rpi/vc4/data/imx708_wide_noir.json    | 555 ++++++++--------\n src/ipa/rpi/vc4/data/ov5647.json              | 611 ++++++++---------\n src/ipa/rpi/vc4/data/ov5647_noir.json         |  15 +-\n src/ipa/rpi/vc4/data/ov9281_mono.json         |   5 +-\n src/ipa/rpi/vc4/data/se327m12.json            |  15 +-\n src/ipa/rpi/vc4/data/uncalibrated.json        |   5 +-\n src/libcamera/bayer_format.cpp                |  14 +\n src/libcamera/formats.cpp                     |  71 +-\n src/libcamera/formats.yaml                    |  21 +\n src/libcamera/v4l2_pixelformat.cpp            |  14 +\n src/libcamera/v4l2_subdevice.cpp              |  28 +\n 33 files changed, 3227 insertions(+), 2588 deletions(-)"}