From: Mauro Carvalho Chehab <mchehab@kernel.org>
To: Adam Stylinski <kungfujesus06@gmail.com>
Cc: linux-media@vger.kernel.org
Subject: Re: DVB mmap API
Date: Sat, 8 Jan 2022 23:33:32 +0100 [thread overview]
Message-ID: <20220108233326.364c1edf@coco.lan> (raw)
In-Reply-To: <CAJwHY9W2ewhq7oUvgxUZpMJ77=9J=JavG=P2Q1pZC0b1XZiriw@mail.gmail.com>
Em Sat, 8 Jan 2022 12:34:59 -0500
Adam Stylinski <kungfujesus06@gmail.com> escreveu:
> Hello,
>
> I'm probably just looking for a project of unnecessary complexity to
> take on but I couldn't help but notice there's been driver support for
> mmap on DVB devices in the Linux kernel now for a pretty long time. I
> also noticed that it's been marked experimental since inception and
> that nothing seems to use it or have a real example of it for the DVB
> spec (v4lutils' dvb wrappers included). Is there a grave reason this
> thing is still marked experimental? It seems in theory like a good
> way to prevent context switches.
There's no grave reason why it is marked as experimental... it is just
that userspace apps don't use it yet, except for dvbv5-zap, when passing
an extra option to enable it.
> I'm nearly considering experimenting with modifying mythtv's DVB
> demuxing, tuning, and streaming routines to use this. Not because I
> need to, mind you, it's just an ancient system and I'm trying to
> prevent every ounce of the occasional hiccup that happens.
>
> https://www.kernel.org/doc/html/v5.15/userspace-api/media/dvb/dmx-mmap.html
It would be nice if MythTV and other apps would support MMAP.
If you have time, and want to do that, It sounds great to me.
You could also add support for it on Kaffeine - with already uses
libdvbv5 - so maybe it could be simpler to add support for it too.
Anyway, from my side it sounds welcomed to have userspace apps using
it. Once we have some application using it for a couple Kernel versions,
I guess I could just remove "experimental" from the Kernel drivers.
Thanks,
Mauro
prev parent reply other threads:[~2022-01-08 22:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-08 17:34 DVB mmap API Adam Stylinski
2022-01-08 22:33 ` Mauro Carvalho Chehab [this message]
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=20220108233326.364c1edf@coco.lan \
--to=mchehab@kernel.org \
--cc=kungfujesus06@gmail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.