Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp584119pxb; Wed, 3 Nov 2021 09:01:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy89vaShnwHeb301TcfEObg8t1vImJH6nh+FBE8pDnxORc/6g6+i1JW+MIBxCQzyJ4lQ1zC X-Received: by 2002:aa7:cb41:: with SMTP id w1mr62537587edt.327.1635955304251; Wed, 03 Nov 2021 09:01:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635955304; cv=none; d=google.com; s=arc-20160816; b=od5EryJ+uupMNSJxXRoDNhUY7LuzJurxonw22r7WmsUbXKGxmQY7OHkL1lraRwCGZy +Zf+JEs3hT7svEqGN6BqscDUdG1NfwTI2Hq5NBtNqpS1/X0MLK1+7qx6YcQbt6ugUhzr 90Dks9t1DcgMDzZsvxojT3F/C/lHuYcxdjrRJDA/BmrRr4mGraezpxVSuug3uBixVbkI axqsC1NZjzVMgp1rID8+ymFopVP2mqJD4ZRDKpNQva3Diej+FxzlWYt8vSgfJj35Wz67 BdyI4aMSMcgiA4hiVKtAFhkWEmQscPL09pgjBnP9TJLq5hsscA9yJ2LRd1vxutsvSyK4 vXaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=eRvj9qYI+2l7/7aUCZ50U+44Z6UG0IqeflVK/0bEcvo=; b=HwM/AewN0gdzNDn0r3C0Bkq1GCH7YZ/wZ9ZN7+XYdG8UA7v3Zs+qbF9DngzzjejXNx wonnfwqXQ/JLPFFuRvidgyESkNDv1hx/lzOow8CciTlg2h9qacVPyX1KcnhkEqxnW/We cG5KONcQYvYi26cwGOytDdDQOESnVLNaWvbRmJ9Y2k4qyF0nFUbKL9ZZFOFY6bv/wdIT FxjPWe5lwPUm2Nd8TXvcvQUns8pYIkuUR3Yp4RqkEtxusG7k3wrrSd7C4+ByiWzwIVCK mN2+03+XA19y/xgdu209c3iBZWslaO/1jCvBA3pVDVA3ymKqOmmyD/qxriO/96nlJHA6 7beg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=BZz+zyyw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oz38si5199473ejc.210.2021.11.03.09.01.12; Wed, 03 Nov 2021 09:01:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=BZz+zyyw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232503AbhKCP7q (ORCPT + 99 others); Wed, 3 Nov 2021 11:59:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231857AbhKCP7n (ORCPT ); Wed, 3 Nov 2021 11:59:43 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53042C061714 for ; Wed, 3 Nov 2021 08:57:06 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id d13so4275508wrf.11 for ; Wed, 03 Nov 2021 08:57:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=eRvj9qYI+2l7/7aUCZ50U+44Z6UG0IqeflVK/0bEcvo=; b=BZz+zyywefqfNDI4gN4GDIM0uwo+FGSPcLNoq8DH2EXoe56E32R0v4glZZpSqHvkR/ sbLHeTm4jmFtLgyiP5il6cidyVwnm/QcUw+cpD1tSl0vT7dMlJnK2qrC2bJvlJVSeLBz mItrt4gUdMoh7jQfhyR0fMzPZnw+Slkatr5pyLYowy4Vqf9MZWbXhjXvWJHn1o7tFSBl 3kw7mG28mKixAVjUtYZzWipsWohjqyBC8vluMVwO+QhPb3QAcNJlAqREIe+O56MgF+Rj 6lSVMNXjMG0DB5I3FHvra0nW8vhSCHdLX85k5eUkA6+Fq4mpthVNJGWj1iaLSihcnUmM QD/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=eRvj9qYI+2l7/7aUCZ50U+44Z6UG0IqeflVK/0bEcvo=; b=K++0PeyNKuj8BXsnNDHg2DnTqS2h7llLk2XIC5N50223vZ1HwN4dP3qJ9kMiBl5Dul 3uSkmtRJsXeUtg+286yYnTg9QhpHZBKTkYYAT+Bl5sb/c1SCqL5f5+6JqUNVadTZzpjh /9oV+W6ODvjHrqMo4Hl3X9r+xU/e8eIWgTahjA8eucBvgKPj660tYO0DQt5JpLkfFpV1 UwomiMjUztLGXwxGkeCb+F8EHD/nzT12V7MVxqDJrN1MIOvqhXDLuTtfgf5+jtXX3D+Z J/aSJ//OC69yRNFyW4+yTwifqJM66Bbcn96v7DxuBYCX6gmt/ebLnXiiMwKInFGdoeyP baiQ== X-Gm-Message-State: AOAM530gm00/eyM0zlkmt+XzgNrmKzozd1FCgt9u63NvE7SWq68IvUQ8 L3JVvEZoiZfGJNAifrSyP+VYeMBwT3uqvA== X-Received: by 2002:a5d:4890:: with SMTP id g16mr58678884wrq.10.1635955024911; Wed, 03 Nov 2021 08:57:04 -0700 (PDT) Received: from Red ([2a01:cb1d:3d5:a100:264b:feff:fe03:2806]) by smtp.googlemail.com with ESMTPSA id p13sm6470355wmi.0.2021.11.03.08.57.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Nov 2021 08:57:04 -0700 (PDT) Date: Wed, 3 Nov 2021 16:57:02 +0100 From: LABBE Corentin To: Hans Verkuil Cc: mchehab@kernel.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-staging@lists.linux.dev, mjpeg-users@lists.sourceforge.net Subject: Re: [PATCH v3 00/14] staging: media: zoran: fusion in one module Message-ID: References: <20211026193416.1176797-1-clabbe@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le Wed, Nov 03, 2021 at 04:21:02PM +0100, Hans Verkuil a ?crit : > Hi Corentin, > > On 26/10/2021 21:34, Corentin Labbe wrote: > > Hello > > > > The main change of this serie is to fusion all zoran related modules in > > one. > > This fixes the load order problem when everything is built-in. > > I've been testing this series, and while the module load/unload is now working, > I'm running into a lot of other v4l2 compliance issues. > > I've fixed various issues in some follow-up patches available in my tree: > > https://git.linuxtv.org/hverkuil/media_tree.git/log/?h=zoran > > At least some of the worst offenders are now resolved. Note that the patch > dropping read/write support relies on this patch: > > https://patchwork.linuxtv.org/project/linux-media/patch/4f89b139-13b7-eee6-9662-996626b778b0@xs4all.nl/ Hello My test branch already included your "zoran: fix various V4L2 compliance errors" I have quickly checked other patch and I am ok with them. I will add and test with them. > > But there is one really major bug that makes me hesitant to merge this: > > This works: > > v4l2-ctl -v pixelformat=MJPG,width=768,height=576 > v4l2-ctl --stream-mmap > > This fails: > > v4l2-ctl -v pixelformat=MJPG,width=768,height=288 > v4l2-ctl --stream-mmap > > It's an immediate lock up with nothing to indicate what is wrong. > As soon as the height is 288 or less, this happens. > > Both with my DC30 and DC30D. Just for curiosity, what is the difference between thoses two ? > > Do you see the same? Any idea what is going on? I would feel much happier > if this is fixed. > > Note that the same problem is present without this patch series, so it's > been there for some time. > I will start on digging this problem and add thoses commands to my CI. And I know there are a huge quantity of problem since origins. A simple example is that just setting MJPEG as default input format does not work. But since it is not related to my serie, can you please merge it. Thanks Regards