[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <dd6739ca-72b1-4eb6-9fd6-e18dc974de50@linuxfoundation.org>
Date: Mon, 27 Nov 2023 10:00:05 -0700
From: Shuah Khan <skhan@...uxfoundation.org>
To: Benjamin Gaignard <benjamin.gaignard@...labora.com>,
hverkuil@...all.nl, mchehab@...nel.org, tfiga@...omium.org,
m.szyprowski@...sung.com, matt.ranostay@...sulko.com
Cc: linux-kernel@...r.kernel.org, linux-media@...r.kernel.org,
linux-staging@...ts.linux.dev, kernel@...labora.com,
Kieran Bingham <kieran.bingham@...asonboard.com>,
Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [PATCH 02/55] media: test-drivers: Stop abusing of
min_buffers_needed field
On 11/27/23 09:54, Benjamin Gaignard wrote:
> 'min_buffers_needed' is suppose to be used to indicate the number
> of buffers needed by DMA engine to start streaming.
> Obvious test-drivers don't use DMA engine and just want to specify
> the minimum number of buffers to allocate when calling VIDIOC_REQBUFS.
> That 'min_reqbufs_allocation' field purpose so use it.
> While at it rename function parameter.
>
So how ate the test-drivers currently abusing this field
and how does this change benefit?
I don't have objections to this change, I want to understand
it a bit more. I would like to see more details on why this
change is needed.
thanks,
-- Shuah
Powered by blists - more mailing lists