Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1575211imu; Tue, 6 Nov 2018 00:28:20 -0800 (PST) X-Google-Smtp-Source: AJdET5eLUYGIRIcCKzQuy0+DDOL8fGtP3caT1kN87r+A8On6kfMaHuBxM21zMEAr5OL+qmeJr2eD X-Received: by 2002:a62:25c2:: with SMTP id l185-v6mr12932673pfl.64.1541492900196; Tue, 06 Nov 2018 00:28:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541492900; cv=none; d=google.com; s=arc-20160816; b=Yptpbl9o0Aj9RAyemPCjUzMwi1zNZXve1ymXSEAmP1Xl04dykMSx6TD/GpTFXyoX+E Jpzl/JM1bp6KFPg443Kzuud9j2QvnAgbDgY7bvhIHWamGG+1CE05yjafmL2wEAfWa53t +3VuSzwvMeNPbhv1hnJuJtXypOd6xvwioeI6bKW2U8vhiMtfvUi5MFzfHjkxJ/8IRyIl 8b5BgeINT2Qe2TAAQL4HCbp/y6oCKV9dyTZ2/AzbezxODSQj/yYwxVcZ3YYIjX9AhxNF vydxbBHqX275U5GsO84P4QMSxVW8dh5pyxSpdxgxeoGXia39x1WYghWbEhvOWtkuPbZt GS3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=fOeOpieDH5ZqeAIxgAjTxahegubcsVaq2NBO1AhbmSc=; b=BRG1cDM0Q78ntYilnG9jNvGWNKpVESNf+5s3Pdlv7tPOeWBB+TjhrfaQXZjwb9RMQ0 zWS8oa4rra6pWRDx/uBScUs70sTS0vQs9lnL/02ITR9uwd5EONLyknDFHgqs+oZh6UQc K8ui5mtvGKNDS76vCY6r2XL/LaXvXwzPzav/Wx5FmtRxsz1xMlmCHgPnI5p+Rr4Rt7n2 r4HgTz/+oX00zgpnKNyovWLVZ1Unxm8KzyPL2EdXsHmOlynG3fFJvsY1R3/zhmf4SSI7 zwqoN2Du+Sk1CbSmx7GL7Z/srHhG5ReuEIOTK+Gupc+QT+sAgKAfZG/UFvobrBRvA+Uo MC3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u128-v6si30433750pfc.145.2018.11.06.00.28.04; Tue, 06 Nov 2018 00:28:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387399AbeKFRvh (ORCPT + 99 others); Tue, 6 Nov 2018 12:51:37 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:53589 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728133AbeKFRvg (ORCPT ); Tue, 6 Nov 2018 12:51:36 -0500 X-Originating-IP: 2.224.242.101 Received: from w540 (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id EC1A7E0003; Tue, 6 Nov 2018 08:27:28 +0000 (UTC) Date: Tue, 6 Nov 2018 09:27:27 +0100 From: jacopo mondi To: Adam Ford Cc: Fabio Estevam , steve_longerbeam@mentor.com, Jagan Teki , p.zabel@pengutronix.de, Fabio Estevam , gstreamer-devel@lists.freedesktop.org, linux-media@vger.kernel.org, Linux Kernel Mailing List Subject: Re: i.MX6 MIPI-CSI2 OV5640 Camera testing on Mainline Linux Message-ID: <20181106082727.GW15991@w540> References: <20181023230259.GA3766@w540> <20181024140820.GB3766@w540> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="aHyShe78FfJzbeER" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --aHyShe78FfJzbeER Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Hi Adam, On Mon, Nov 05, 2018 at 04:32:33PM -0600, Adam Ford wrote: > On Mon, Oct 29, 2018 at 8:49 AM Fabio Estevam wrote: > > > > Hi Adam, > > > > On Sun, Oct 28, 2018 at 3:58 PM Adam Ford wrote: > > > > > Does anyone know when the media branch get's merged into the mainline > > > kernel? I assume we're in the merge window with 4.19 just having been > > > released. Once these have been merged into the mainline, I'll go > > > through and start requesting they get pulled into 4.19 and/or 4.14 > > > if/when appropriate. > > > > This should happen in 4.20-rc1, which will probably be out next Sunday. > I sent an e-mail to stable with a list of a variety of patches for the > ov5640 to be applied to 4.19.y So far all looks pretty good, but I > think I found on minor bug: Thanks! > > If I attempt to change just the resolution, it doesn't take. > > Initial read > media-ctl --get-v4l2 "'ov5640 2-0010':0" > [fmt:UYVY8_2X8/640x480@1/30 field:none colorspace:srgb xfer:srgb > ycbcr:601 quantization:full-range] > > Change resolution > # media-ctl --set-v4l2 "'ov5640 2-0010':0[fmt:UYVY2X8/720x480 field:none]" > > Read it back > # media-ctl --get-v4l2 "'ov5640 2-0010':0" > [fmt:UYVY8_2X8/640x480@1/30 field:none colorspace:srgb xfer:srgb > ycbcr:601 quantization:full-range] > > However, if I change the resolution AND the format to something other > than UYVY2x8, the resolution changes. I can then change the format > back to UYVY and capture and stream video at 1080p and 720x480. > I can work around this, but I thought I'd mention it. I was trying to > figure out a patch to apply to the mailing list myself, but I wasn't > able to fix it quickly. Thanks, you are right, this is a known issue :( There have been patches to address this issue floating around the mailing list, none of them has yet made it up to inclusion. Sam has sent a patch to fix this: https://patchwork.linuxtv.org/patch/52489/ Hugues had something similar I cannot find, if I'm not wrong, and I carry myself the patch I posted in the patchwork discussion in my trees. Feel free to go through the media list and comment. One more report on this would help to increase chances to have one of those patches re-sent and then included. Also, bug reports are always very welcome, but to maximize the chances they receive the required attention, could you make a new email thread next time and drop this one please? Thanks j > > adam > adam --aHyShe78FfJzbeER Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJb4VBvAAoJEHI0Bo8WoVY89u8QAKTJtiKq5vUKEk2WmDfyjb/p 8/m+NgtmK44q6o0NgLC0IRoL7BpTZeMS14wKs6nX+YFqYJiZrlmzZf21Y1WNJ8XN P2yqAsVTqKcf9rRyikbebxkC7BpFNyIRAoM1PrIcYZRdGMgiyl7XCnQ3/IShdaz0 WWILE7C1Pao8TF1a5aj7vcUxHHtaN8mrzTJ1yV1RZHVUd5xyQTL5aY2jEPowuRWH x0Bljl3eu0uNHTZ5606aKDfFZavYjmK+cMnIfdVhtGay4Mp50RHEgWyEUPDJVXdc taG1srOWF5xZNb0IMda/N6G5ATagXZnOOcl4cYgEBfCIVMEU1SNbHOSFWsWhoFHo +WVydTkSoh2cvkWh0IS6hH+niteX7khC4zFJ+hxoGB/fBSXKEn2MVyp8GnWJUgfO MxY+ub4lMumtFe4aWMYig2p7YcfaOlcJZkfxjKadQoSGMWveGcA/ZiA0qM4d1hEj tv3THpF4nT62pSJVyskmjVFWWOSXW9qg7xGQs7OsJZXWENdF3Qaa2htfN+bzYFX2 YVhNS2govC/rhmhCXokR+Sw58tOpqFqQN0UromKB256D6eeo3iKLHf2BA//fXe80 d1SHg+WXslqUjdMNgHzGniPfdE4DJWdmzUu/IKs9VhVHpgjHqJERwIsyo8ZG910k GLinMZzGgR6vwdtVMNWn =m7tn -----END PGP SIGNATURE----- --aHyShe78FfJzbeER--