* Update STA2X11 to videobuf2 and control framework
@ 2012-07-31 20:13 Federico Vaga
2012-07-31 20:13 ` [PATCH 1/3 RFC] [media] adv7180: remove {query/g_/s_}ctrl Federico Vaga
0 siblings, 1 reply; 2+ messages in thread
From: Federico Vaga @ 2012-07-31 20:13 UTC (permalink / raw)
To: Mauro Carvalho Chehab, Pawel Osciak, Marek Szyprowski, Hans Verkuil
Cc: Giancarlo Asnaghi, linux-media, linux-kernel, Jonathan Corbet
As suggested I moved the Video Buffer Input (VIP) of the STA2X11 board to the
videobuf2. This patch series is an RFC.
The first patch is just an update to the adv7180 because the VIP (the only
user) now use the control framework so query{g_|s_|ctrl} are not necessery.
The second patch adds a new memory allocator for the videobuf2. I name it
videobuf2-dma-streaming but I think "streaming" is not the best choice, so
suggestions are welcome. My inspiration for this buffer come from
videobuf-dma-contig (cached) version. After I made this buffer I found the
videobuf2-dma-nc made by Jonathan Corbet and I improve the allocator with
some suggestions (http://patchwork.linuxtv.org/patch/7441/). The VIP doesn't
work with videobu2-dma-contig and I think this solution is easier the sg.
The third patch updates the VIP to videobuf2 and control framework. I made also
some restyling to the driver and change some mechanism so I take the ownership
of the driver and I add the copyright of ST Microelectronics. Some trivial
code is unchanged. The patch probably needs some extra update and probably,
you will give me many suggestions.
I add the control framework to the VIP but without any control. I add it to
inherit controls from adv7180.
--
Federico Vaga
^ permalink raw reply [flat|nested] 2+ messages in thread* [PATCH 1/3 RFC] [media] adv7180: remove {query/g_/s_}ctrl
2012-07-31 20:13 Update STA2X11 to videobuf2 and control framework Federico Vaga
@ 2012-07-31 20:13 ` Federico Vaga
0 siblings, 0 replies; 2+ messages in thread
From: Federico Vaga @ 2012-07-31 20:13 UTC (permalink / raw)
To: Mauro Carvalho Chehab, Pawel Osciak, Marek Szyprowski, Hans Verkuil
Cc: Giancarlo Asnaghi, linux-media, linux-kernel, Jonathan Corbet,
Federico Vaga
Signed-off-by: Federico Vaga <federico.vaga@gmail.com>
---
drivers/media/video/adv7180.c | 3 ---
1 file modificato, 3 rimozioni(-)
diff --git a/drivers/media/video/adv7180.c b/drivers/media/video/adv7180.c
index 07bb550..bcc7d60 100644
--- a/drivers/media/video/adv7180.c
+++ b/drivers/media/video/adv7180.c
@@ -402,9 +402,6 @@ static const struct v4l2_subdev_video_ops adv7180_video_ops = {
static const struct v4l2_subdev_core_ops adv7180_core_ops = {
.g_chip_ident = adv7180_g_chip_ident,
.s_std = adv7180_s_std,
- .queryctrl = v4l2_subdev_queryctrl,
- .g_ctrl = v4l2_subdev_g_ctrl,
- .s_ctrl = v4l2_subdev_s_ctrl,
};
static const struct v4l2_subdev_ops adv7180_ops = {
--
1.7.11.2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-31 20:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-31 20:13 Update STA2X11 to videobuf2 and control framework Federico Vaga
2012-07-31 20:13 ` [PATCH 1/3 RFC] [media] adv7180: remove {query/g_/s_}ctrl Federico Vaga
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®