{"id":1744,"url":"https://patchwork.libcamera.org/api/1.1/covers/1744/?format=json","web_url":"https://patchwork.libcamera.org/cover/1744/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/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":"<20190808000404.10841-1-niklas.soderlund@ragnatech.se>","date":"2019-08-08T00:04:00","name":"[libcamera-devel,v3,0/4] libcamera: Fix issues with vimc and Linux v5.2","submitter":{"id":5,"url":"https://patchwork.libcamera.org/api/1.1/people/5/?format=json","name":"Niklas Söderlund","email":"niklas.soderlund@ragnatech.se"},"mbox":"https://patchwork.libcamera.org/cover/1744/mbox/","series":[{"id":448,"url":"https://patchwork.libcamera.org/api/1.1/series/448/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=448","date":"2019-08-08T00:04:00","name":"libcamera: Fix issues with vimc and Linux v5.2","version":3,"mbox":"https://patchwork.libcamera.org/series/448/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/1744/comments/","headers":{"Return-Path":"<niklas.soderlund@ragnatech.se>","Received":["from vsp-unauthed02.binero.net (vsp-unauthed02.binero.net\n\t[195.74.38.227])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3E5BB6161A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu,  8 Aug 2019 02:04:10 +0200 (CEST)","from bismarck.berto.se (unknown [145.14.112.32])\n\tby bin-vsp-out-01.atm.binero.net (Halon) with ESMTPA\n\tid 04edfe64-b970-11e9-bdc3-005056917a89;\n\tThu, 08 Aug 2019 02:04:00 +0200 (CEST)"],"X-Halon-ID":"04edfe64-b970-11e9-bdc3-005056917a89","Authorized-sender":"niklas@soderlund.pp.se","From":"=?utf-8?q?Niklas_S=C3=B6derlund?= <niklas.soderlund@ragnatech.se>","To":"libcamera-devel@lists.libcamera.org","Date":"Thu,  8 Aug 2019 02:04:00 +0200","Message-Id":"<20190808000404.10841-1-niklas.soderlund@ragnatech.se>","X-Mailer":"git-send-email 2.22.0","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v3 0/4] libcamera: Fix issues with vimc\n\tand Linux v5.2","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.23","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>","X-List-Received-Date":"Thu, 08 Aug 2019 00:04:10 -0000"},"content":"Hi,\n\nThe recently release Linux v5.2 changes the vimc drivers behavior in a\nway which breaks libcameras vimc pipeline and some of our tests. This\nsmall series aims to solve this and keep libcamera functioning on both\nv5.1 (and earlier) and v5.2.\n\nPatch 1/4 is a small preparation patch. While 2/4 switches the vimc \npipeline to use the RGB/YUV capture video node instead of a raw capture \nnode. Patch 3/4 fixes issues introduced by [1] and finally 4/4 fixes an \nissue introduced by [2]. The whole series is tested on v5.1 and v5.2 on \ntop of libcamera master branch and all tests pass again.\n\n1. 85ab1aa1fac17bcd (\"media: vimc: deb: fix default sink bayer format\")\n2. b6c61a6c37317efd (\"media: vimc: propagate pixel format in the stream\")\n\n* Changes since v2\n- Switch to vimc RGB/YUV capture video node.\n\nNiklas Söderlund (4):\n  libcamera: pipeline: vimc: Initialize device pointers\n  libcamera: pipeline: vimc: Switch to using the RGB/YUV Capture video\n    node\n  tests: v4l2_videodevice: Set media bus and pixel formats for vimc\n  tests: camera-sensor: Test using invalid media bus format\n\n src/libcamera/pipeline/vimc.cpp               | 112 ++++++++++++++++--\n test/camera-sensor.cpp                        |   3 +-\n test/camera/buffer_import.cpp                 |   8 +-\n .../v4l2_videodevice_test.cpp                 |  26 ++++\n test/v4l2_videodevice/v4l2_videodevice_test.h |   7 +-\n 5 files changed, 138 insertions(+), 18 deletions(-)"}