[{"id":4771,"web_url":"https://patchwork.libcamera.org/comment/4771/","msgid":"<20200510195756.GB1354180@oden.dyn.berto.se>","date":"2020-05-10T19:57:56","subject":"Re: [libcamera-devel] [PATCH v5 1/6] include: linux: Extend\n\tVIDIOC_ENUM_FMT to support MC-centric devices","submitter":{"id":5,"url":"https://patchwork.libcamera.org/api/people/5/","name":"Niklas Söderlund","email":"niklas.soderlund@ragnatech.se"},"content":"Hi Laurent,\n\nThanks for your work.\n\nOn 2020-05-10 14:58:05 +0300, Laurent Pinchart wrote:\n> This integrates the Linux kernel upstream commits e5b6b07a1b45 (\"media:\n> v4l2: Extend VIDIOC_ENUM_FMT to support MC-centric devices\") and\n> f645e6256bd1 (\"media: v4l2-dev/ioctl: Add V4L2_CAP_IO_MC\") that are\n> scheduled for v5.8.\n> \n> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n\nReviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>\n\n> ---\n>  include/linux/videodev2.h | 5 ++++-\n>  1 file changed, 4 insertions(+), 1 deletion(-)\n> \n> diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h\n> index ab40b3272ed2..66f34fc05e3e 100644\n> --- a/include/linux/videodev2.h\n> +++ b/include/linux/videodev2.h\n> @@ -476,6 +476,8 @@ struct v4l2_capability {\n>  \n>  #define V4L2_CAP_TOUCH                  0x10000000  /* Is a touch device */\n>  \n> +#define V4L2_CAP_IO_MC\t\t\t0x20000000  /* Is input/output controlled by the media controller */\n> +\n>  #define V4L2_CAP_DEVICE_CAPS            0x80000000  /* sets device capabilities field */\n>  \n>  /*\n> @@ -769,7 +771,8 @@ struct v4l2_fmtdesc {\n>  \t__u32               flags;\n>  \t__u8\t\t    description[32];   /* Description string */\n>  \t__u32\t\t    pixelformat;       /* Format fourcc      */\n> -\t__u32\t\t    reserved[4];\n> +\t__u32\t\t    mbus_code;\t\t/* Media bus code    */\n> +\t__u32\t\t    reserved[3];\n>  };\n>  \n>  #define V4L2_FMT_FLAG_COMPRESSED\t\t0x0001\n> -- \n> Regards,\n> \n> Laurent Pinchart\n> \n> _______________________________________________\n> libcamera-devel mailing list\n> libcamera-devel@lists.libcamera.org\n> https://lists.libcamera.org/listinfo/libcamera-devel","headers":{"Return-Path":"<niklas.soderlund@ragnatech.se>","Received":["from mail-lf1-x141.google.com (mail-lf1-x141.google.com\n\t[IPv6:2a00:1450:4864:20::141])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id BEC23603F7\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun, 10 May 2020 21:57:59 +0200 (CEST)","by mail-lf1-x141.google.com with SMTP id d25so5673174lfi.11\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun, 10 May 2020 12:57:59 -0700 (PDT)","from localhost (h-209-203.A463.priv.bahnhof.se. [155.4.209.203])\n\tby smtp.gmail.com with ESMTPSA id\n\tq19sm7505066ljj.84.2020.05.10.12.57.57\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tSun, 10 May 2020 12:57:58 -0700 (PDT)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected)\n\theader.d=ragnatech-se.20150623.gappssmtp.com\n\theader.i=@ragnatech-se.20150623.gappssmtp.com header.b=\"ogfa271W\"; \n\tdkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=ragnatech-se.20150623.gappssmtp.com; s=20150623;\n\th=date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:content-transfer-encoding:in-reply-to;\n\tbh=Pfu+FbCYiJixgHTynutg8EE4Yvf19UT3ViGaQRFTNpk=;\n\tb=ogfa271W67opqCjeCgITOnbBSpSIedMo7yjSyP4r0i0u461V4KXx5HdbbQwE1A5CCh\n\tY3RgyFhnrf0LHDDPCmkBNM0JlfC4QhyOWSLRIv6q/21t2YPcyFQyLvCsFcBowvYH5FUo\n\tgeb0WR+cljUT0NpNLwbc++zq7nibOsbLj2AoKbIa/tT3vZO1BySwZX2eykMvnMuM2MO2\n\tebjWqowosrIx9Y8AER86tLbNe3qADMYuQYKQ+nQLwZZU+PYcrGMGneOxi86zrlU6DqtL\n\tXTkhMZHdYB717cQvnHIvY3wxFu8Sx8SfQVP6XEYh5enffr7bs0nfLPj3529Fti40njn9\n\tmySQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-disposition:content-transfer-encoding\n\t:in-reply-to;\n\tbh=Pfu+FbCYiJixgHTynutg8EE4Yvf19UT3ViGaQRFTNpk=;\n\tb=YCtxPp+zZ7QtniIj89X1p9ILpAHhqefuBIfYDZWbkgmlkLVt1FI81x0Yi+WD4c3vXU\n\ty32GkPGeLusEQd01GWu7IUkFHLTHuoPmL4Es7A3CQHF1pOjn/QF3oBpShSTBnsMtikXd\n\txMU9AqP5gkk5kAbge3DmiEtRTTHOVNhrC8eFrYGIQNNOGua56jV4qVtY0wh3iD0HVF4F\n\tu7dQJwZE9o/EGfTE1Jb2FKBSAvjWPVO2r83cNulQNn7Az5W1gC6sKYno1avTSfS0ZbGp\n\tKfBVkFIHpQI1RZ4TJO/fAWgMdncdxsWb1M232vFB4ySd4shLy9HkSb3bZ8rU5MbN4cPD\n\tJbhw==","X-Gm-Message-State":"AOAM533F4/YvSUOQYxCEgpijPwRYi26cllS6+WH4KysRA3DVdsY1hdUK\n\t3dF1TXoSxrsen7yWQw5XYa0Iog==","X-Google-Smtp-Source":"ABdhPJxvLy0kIbT3q6kF0vmaFas+JM2gRnPbgWJSk3wkG0zFEnfyPSK1RnTOZapf2Kv3QaB1FYoK8A==","X-Received":"by 2002:a19:4f1b:: with SMTP id d27mr8573783lfb.81.1589140678799;\n\tSun, 10 May 2020 12:57:58 -0700 (PDT)","Date":"Sun, 10 May 2020 21:57:56 +0200","From":"Niklas =?iso-8859-1?q?S=F6derlund?= <niklas.soderlund@ragnatech.se>","To":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","Cc":"libcamera-devel@lists.libcamera.org, Martijn Braam <martijn@brixit.nl>","Message-ID":"<20200510195756.GB1354180@oden.dyn.berto.se>","References":"<20200510115810.21938-1-laurent.pinchart@ideasonboard.com>\n\t<20200510115810.21938-2-laurent.pinchart@ideasonboard.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=iso-8859-1","Content-Disposition":"inline","Content-Transfer-Encoding":"8bit","In-Reply-To":"<20200510115810.21938-2-laurent.pinchart@ideasonboard.com>","Subject":"Re: [libcamera-devel] [PATCH v5 1/6] include: linux: Extend\n\tVIDIOC_ENUM_FMT to support MC-centric devices","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>","X-List-Received-Date":"Sun, 10 May 2020 19:58:00 -0000"}}]