Linux Media Controller development
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: linux-media@vger.kernel.org
Subject: Re: [PATCH] vivid: Add support for the dma-contig memory allocator
Date: Sat, 05 Dec 2015 01:02:11 +0200	[thread overview]
Message-ID: <1755984.kluJNdl6XT@avalon> (raw)
In-Reply-To: <6E4D785C-6536-400C-8665-DC42B97E9265@xs4all.nl>

Hi Hans,

On Friday 04 December 2015 23:50:31 Hans Verkuil wrote:
> On December 4, 2015 11:05:48 PM GMT+01:00, Laurent Pinchart wrote:
> > To test buffer sharing with devices that require contiguous memory
> > buffers the dma-contig allocator is required. Support it and make the
> > allocator selectable through a module parameter. Support for the two
> > memory allocators can also be individually selected at compile-time to
> > avoid bloating the kernel with an unneeded allocator.
> >
> > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> >---
> >
> > drivers/media/platform/vivid/Kconfig         | 21 ++++++++++++-
> > drivers/media/platform/vivid/vivid-core.c    | 44 ++++++++++++++++++++----
> > drivers/media/platform/vivid/vivid-core.h    |  1 +
> > drivers/media/platform/vivid/vivid-sdr-cap.c |  3 ++
> > drivers/media/platform/vivid/vivid-vbi-cap.c |  2 ++
> > drivers/media/platform/vivid/vivid-vbi-out.c |  1 +
> > drivers/media/platform/vivid/vivid-vid-cap.c |  9 ++----
> > drivers/media/platform/vivid/vivid-vid-out.c |  9 ++----
> > 8 files changed, 72 insertions(+), 18 deletions(-)

[snip]

> Apologies for top posting, I'm sending this from my Android phone.

No need to, your message was at the bottom :-)

> Laurent, did you test this on a regular pc? I've tried this before, but
> failed since I couldn't make it work on a pc. I didn't spend a huge amount
> of time on it, though.
> 
> Just want to make sure that this case is covered.

I haven't tested that, no. Let's see who from you or me will find free time 
first (hint: it might be you :-)).

-- 
Regards,

Laurent Pinchart


  reply	other threads:[~2015-12-04 23:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-04 22:05 [PATCH] vivid: Add support for the dma-contig memory allocator Laurent Pinchart
2015-12-04 22:50 ` Hans Verkuil
2015-12-04 23:02   ` Laurent Pinchart [this message]
2015-12-04 23:27     ` Hans Verkuil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1755984.kluJNdl6XT@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=hverkuil@xs4all.nl \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox