Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp919045rdb; Wed, 6 Dec 2023 03:59:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IGHC1VAOkSRav/d6MdayU78jihy+97F4f38743SYs8uAcEptKH7+JNGZJ60ElkmoAOaGyVB X-Received: by 2002:a05:6a00:2d89:b0:6ce:2731:47b9 with SMTP id fb9-20020a056a002d8900b006ce273147b9mr1037828pfb.25.1701863975621; Wed, 06 Dec 2023 03:59:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701863975; cv=none; d=google.com; s=arc-20160816; b=iltDf+hZ0b565z4wyhX47aujthK/U8NOYZpwOjb/dKd3T6XO9YF/ME4SST/G3uKWMy 0poA1iWO/t/T5h0jaBnQjKyDo/26Fn4F41BpXE25YMhFXHuuaUg3h2OQPh9mSq/b71n8 uxhdJZl+fzgZjRZ73c1dXzmXH/b5jsf7cCmnaIy+lolYTXldUD6WOQ/QwVsnJ9fubGzK 8xI7kou4ZkwFAAqkNBax7zJxMosveH4qlFELSbdxk2SLXYKoAOTOuzjvV/TRe5bSsJLu +qa2jF+KxKIol0KxTih0/WOQOovULrEVt8ByYnXa6p/SkMD8Epc1yombb9V+XEu9zb4c 3E1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=gIgMM1P0X1P14K2g6lu1aWYN+8tlknoVrOP3T4m8CtM=; fh=TyDEnn+dSCIQI30dyCIwfHYEFkNVKcgDd5nJRQ0w5Dg=; b=DVjlo0yvtk6wPYXNOwcEyNV7YbOsl5mpsYOZkUKOluFwu+9lk4JYp3g3p8CxwD2NC2 OEZSChGEHS6kDSaanJDyuoP2uwJ3csG5kN16WIljbdeL9fy7b9WLXAK/9EA8OJQGUHPG F/+4ohObrC2zp8qc6pPfNYbx/686QajG6yK7u+9KW3LEke2Ec/NKtfDgR02UWxtFWnHn naNbauK6NWHBpen8mtsLb8DejVtXLHhPgA66vM2O0vn/3WYxBDiGwBfzgqr+wUWBcgz0 YZPcDb5Nnt0swWs0I1AuF4Am3kX2Dddz9X6N94OvuVtDuby92JKF23E8OrVRZjtb7KJ7 +o4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=YWeG38iv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id x40-20020a056a0018a800b006c4b01d5f85si680909pfh.16.2023.12.06.03.59.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 03:59:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=YWeG38iv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 12091802A82D; Wed, 6 Dec 2023 03:59:34 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377841AbjLFL7Y (ORCPT + 99 others); Wed, 6 Dec 2023 06:59:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377792AbjLFL7X (ORCPT ); Wed, 6 Dec 2023 06:59:23 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80CAC112; Wed, 6 Dec 2023 03:59:29 -0800 (PST) Received: from [100.122.216.38] (ec2-34-240-57-77.eu-west-1.compute.amazonaws.com [34.240.57.77]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: benjamin.gaignard) by madras.collabora.co.uk (Postfix) with ESMTPSA id 166CD6607365; Wed, 6 Dec 2023 11:59:27 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1701863967; bh=NQVRc6GiFEVTdKMxJaUtDzeg9fI0AYeC0jB8pgFpeUw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=YWeG38ivXhQAXgqNhclFEjHJTFB+oP5vWkd1sKkLh0un3upmJX4Oiil5sHcYDYnVz HG3jXdqC1s67QcP8DLBd8wZrzwuqrybVTMdE4s5DEucJ0NiZxpDI3n0ChYOz0cxzWX GAOXcwFHwzW+ZM+J+ddpOYf/rVfs+J/kVzBI6m6kGvtOuv8EH/oj5TCXGgCZ9SAA8D FLze+zn4clZOOlxuTtb64Zk2826QeW2oFIhuv9QhtU2h8Ep8iEEnPXuDcxTXcbjISk s3JqoXrTsTQb2OEreh0iaT+wKxA7j9cr2QT6Nn9koR501kZiOZUWXN+Um0GljfjfIP YjMzlKRPzT6mg== Message-ID: <34558f91-4253-4a1f-997c-1c8b02786fcb@collabora.com> Date: Wed, 6 Dec 2023 12:59:24 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 1/2] videobuf2: core: Rename min_buffers_needed field to vb2_queue To: Dan Carpenter Cc: hverkuil@xs4all.nl, mchehab@kernel.org, tfiga@chromium.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-staging@lists.linux.dev, kernel@collabora.com References: <20231206085608.33246-1-benjamin.gaignard@collabora.com> <20231206085608.33246-2-benjamin.gaignard@collabora.com> Content-Language: en-US From: Benjamin Gaignard In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 06 Dec 2023 03:59:34 -0800 (PST) Le 06/12/2023 à 10:54, Dan Carpenter a écrit : > On Wed, Dec 06, 2023 at 09:56:07AM +0100, Benjamin Gaignard wrote: >> Rename min_buffers_needed into min_queued_buffers and update >> the documentation about it. >> >> Signed-off-by: Benjamin Gaignard > [ snip ] > >> diff --git a/drivers/media/pci/zoran/zoran_driver.c b/drivers/media/pci/zoran/zoran_driver.c >> index fa672cc8bc67..2c91f75e8d79 100644 >> --- a/drivers/media/pci/zoran/zoran_driver.c >> +++ b/drivers/media/pci/zoran/zoran_driver.c >> @@ -749,9 +749,6 @@ static int zr_vb2_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, unsi >> >> zr->buf_in_reserve = 0; >> >> - if (*nbuffers < vq->min_buffers_needed) >> - *nbuffers = vq->min_buffers_needed; >> - >> if (*nplanes) { >> if (sizes[0] < size) >> return -EINVAL; > This was not mentioned in the commit message. And anyway, please do > that as a separate commit. It is a mistake, I don't want to change the drivers code. I will restore these lines in next version. Same for vdec driver below. Regards, Benjamin > > regards, > dan carpenter > > _______________________________________________ > Kernel mailing list -- kernel@mailman.collabora.com > To unsubscribe send an email to kernel-leave@mailman.collabora.com