14 Oct, 2007
1 commit
-
Breaks on any target that has copy_to_user() defined as a non-trivial
macro.Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds
10 Oct, 2007
26 commits
-
The currently used "struct class_device" will be removed from the
kernel. Here is a patch that converts all users in drivers/media/video/
to struct device.Reviewed-by: Thierry Merle
Reviewed-by: Mike Isely
Reviewed-by: Luca Risolia
Signed-off-by: Kay Sievers
Signed-off-by: Mauro Carvalho Chehab -
In the past, videobuf_queue_init were used to initialize PCI DMA videobuffers.
This patch renames it, to avoid confusion with the previous kernel API, doing:
s/videobuf_queue_init/void videobuf_queue_core_init/Also, the operations is now part of the function parameter. The function will
also add a test if this is defined, otherwise producing BUG.Signed-off-by: Mauro Carvalho Chehab
-
Before the videobuf redesign, a procedure for re-using videobuf without PCI
scatter/gather where provided by changing the pci-dependent operations by
other operations.With the newer approach, those methods are obsolete and can safelly be removed.
Signed-off-by: Mauro Carvalho Chehab
-
Signed-off-by: Mauro Carvalho Chehab
http://thread.gmane.org/gmane.comp.video.video4linux/34978/focus=34981
Reviewed-by: Ricardo Cerqueira -
Signed-off-by: Mauro Carvalho Chehab
-
Signed-off-by: Mauro Carvalho Chehab
http://thread.gmane.org/gmane.comp.video.video4linux/34978/focus=34981
Reviewed-by: Ricardo Cerqueira -
Adds a newer videobuf-vmalloc module. This module uses the same
videobuf controls, but implements memory allocation based on vmalloc
methods.With this method, an USB driver can use video-buf, without needing to
request memory from the DMA-safe area.Signed-off-by: Mauro Carvalho Chehab
-
PCI-dependent videobuf_foo methods were renamed as videobuf_pci_foo.
Also, videobuf_dmabuf is now part of videobuf-dma-sg private struct.
So, to access it, a subroutine call is needed.This patch renames all occurences of those function calls to be
consistent with the video-buf split.Signed-off-by: Mauro Carvalho Chehab
http://thread.gmane.org/gmane.comp.video.video4linux/34978/focus=34981
Reviewed-by: Ricardo Cerqueira -
video-buf currently does two different tasks:
- Manages video buffers with a common code that allows
implementing all the V4L2 different modes of buffering;- Controls memory allocations
While the first task is generic, the second were written to support PCI DMA
Scatter/Gather needs. The original approach can't even work for those
video capture hardware that don't support scatter/gather.I did one approach to make it more generic. While the approach worked
fine for vivi driver, it were not generic enough to handle USB needs.This patch creates two different modules, one containing the generic
video buffer handling (videobuf-core) and another with PCI DMA S/G.
After this patch, it would be simpler to write an USB video-buf and a
non-SG DMA module.Signed-off-by: Mauro Carvalho Chehab
http://thread.gmane.org/gmane.comp.video.video4linux/34978/focus=34981
Reviewed-by: Ricardo Cerqueira -
Remove support for g_ext_clk and s_ext_clk. The same functionality is
now handled by g_ifparm.Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab -
This patch adds BT.656 interface settings for [gs]_ifparm.
Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab -
vidioc_int_g_ifparm can be used to obtain hardware-specific information
about the interface used by the slave.Rearrange v4l2-int-device.h as well.
Also remove useless & characters.
Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab -
- fixed missing buttons in keymap.
- make function names & descriptions more generic,
since this same ir receiver and remote is used in
many FusionHDTV products.- miscellaneous cleanups.
Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
This patch adds support for the built-in IR receiver of the DViCO
Fusion HDTV5 RT GOLD PCI card, using FusionHDTV MCE remote controller.Signed-off-by: Chaogui Zhang
Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
The convention for framebuffer devices is to call them xxxfb, not xxx-fb.
Conform to this. Also move the ivtvfb.h header to include/linux: it is a
public header. The FBIO_WAITFORVSYNC ioctl is now also defined in the
ivtvfb.h header, no more need to include matroxfb.h for just this ioctl.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
The driver should now pass the 'busy' state of the device to the cx2341x
module whenever controls are set or tried. -EBUSY will be returned if
the device is busy and the user attempts to modify certain 'dangerous'
controls. It concerns controls that change the audio or video
compression mode and bitrates.The cx88-blackbird and pvrusb2 drivers currently always pass '0' (not busy)
to the cx2341x, effectively keeping the old behavior for now.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Add radio support for the Thomson DTT7612 tuner.
This tuner uses a different 1st intermediate frequency than the other radio
tuners supported (a lot of NTSC radio tuners probably need this change too).Add a new tuner-simple parameter, radio_if. It selects the 1st IF used for
radio reception. The radio frequency setting code in tuner-simple now uses
this field, instead of a special case select() block for each tuner with radio
support.The tuner parameters for tuners that used a 33.3 MHz RIF now set radio_if to 1
in tuner-types.c.The Thomson DTT7612 gets radio_if = 2, also add has_tda9887 = 1 and
fm_gain_normal = 1.Add some defines for tda9887 bits that control IF setting in radio mode.
Add a new tda9887 config option, TDA9887_RIF_41_3, that selects a 41.3 MHz
radio IF.Fix the way tda9887 radio options work. The driver was modifying the default
radio mode config templates based on the TDA9887_XXXX flags. This means that
_all_ tuners would get the same settings. If you had a one tuner than used
TDA9887_GAIN_NORMAL and one that didn't, both would get the setting. Now the
tda9987 driver just checks if tuner mode is radio and then applies the config
settings directly to the data being sent, just like how all the TV mode
settings already work.The PLL setting math is made a little more accurate.
And a grammar error in a printk is fixed.
Signed-off-by: Trent Piepho
Signed-off-by: Mauro Carvalho Chehab -
Convert av7110_v4l.c to use i2c_transfer() instead of saa7146_i2c_transfer().
Make saa7146_i2c_transfer() static.Signed-off-by: Oliver Endriss
Signed-off-by: Mauro Carvalho Chehab -
This device is internal to the Panasonic VP27S tuner and is used to set
the mono/stereo/bilingual setting of the tuner.It is used by two Japanese cx23416-based cards.
Signed-off-by: Takahiro Adachi
Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
This patch cleans up duplicate includes in
include/media/Signed-off-by: Jesper Juhl
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Add the ivtv-fb framebuffer driver for cx23415 devices (currently
only the Hauppauge PVR-350 cards). This makes it possible to use
the On-Screen Display functionality of these cards, either for menus
during MPEG playback, or as a console or X display.Signed-off-by: Kevin Thayer
Signed-off-by: Chris Kennedy
Signed-off-by: Hans Verkuil
Signed-off-by: John P Harvey
Signed-off-by: Ian Armstrong
Signed-off-by: Mauro Carvalho Chehab -
Fix a compile warning on non-32-bit machines in v4l2-int-device.h.
Add internal ioctl interface fallback function for ioctls with one
argument.Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab -
This patch adds an internal ioctl-like interface which can be used in
situations where a single Video4Linux device is implemented by multiple
device drivers. One master device controls one or more slave devices.
The slaves provide Video4Linux ioctl-like interface for the use of the
master.Only a handful of ioctls are implemented at the moment. More can (and
should) be added as more functionality is required.Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab
15 Sep, 2007
1 commit
-
Signed-off-by: Mauro Carvalho Chehab
19 Jul, 2007
6 commits
-
Fix signedness warnings (gcc 4.1.1, kernel 2.6.22).
Signed-off-by: Oliver Endriss
Signed-off-by: Mauro Carvalho Chehab -
Move internal structures and debug macros to drivers/media/video/tuner-driver.h
Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
Move tuner callback function pointers out of struct tuner, into
struct tuner_operations.Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
Individual tuner drivers are now allocating memory themselves for
their own private data structures. This changeset adds a release
callback to the tuner operations, so that newer drivers that may
require more complex data structures may release this private data
themselves.Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
Create private data struct for device specific private data.
Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
This driver were made based on tea5761 specs.
Signed-off-by: Mauro Carvalho Chehab
09 May, 2007
2 commits
-
I added saa7146_vmalloc_destroy_pgtable() which frees the resources
allocated by saa7146_vmalloc_build_pgtable() and updated the callers in
budget-core.c and av7110.c. I have also been through the updated
functions and updated the error paths to ensure they free all allocated
resources on error.
I also realised that there are other callers to saa7146_pgtable_free()
which did not have any sg DMA mapped so it seems wrong to add the
pci_unmap_sg() into that function. Instead I created
saa7146_vmalloc_destroy_pgtable() to do this.
Also included in this patch are the previous fixes for pci_unmap_sg()
and syncing the PCI streamed data to work with a SWIOTLB and match the
requirements documented in DMA-API.txt.Signed-off-by: Jon Burgess
Signed-off-by: Oliver Endriss
Signed-off-by: Mauro Carvalho Chehab -
This patch adds a proper prototype for saa7146_video_do_ioctl() in
include/media/saa7146_vv.h.Signed-off-by: Adrian Bunk
Signed-off-by: Oliver Endriss
Signed-off-by: Mauro Carvalho Chehab
02 May, 2007
1 commit
-
Clean up the includes of . Only include this header file
when we actually need it.Signed-off-by: Jean Delvare
28 Apr, 2007
3 commits
-
Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
It took three core maintainers, over four years of work, eight new i2c
modules, eleven new V4L2 ioctls, three new DVB video ioctls, a Sliced
VBI API, a new MPEG encoder API, an enhanced DVB video MPEG decoding
API, major YUV/OSD contributions from Ian and John, web/wiki/svn/trac
support from Axel Thimm, (hardware) support from Hauppauge, support and
assistance from the v4l-dvb people and the many, many users of ivtv to
finally make it possible to merge this driver into the kernel.
Thank you all!Signed-off-by: Kevin Thayer
Signed-off-by: Chris Kennedy
Signed-off-by: Hans Verkuil
Signed-off-by: John P Harvey
Signed-off-by: Ian Armstrong
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab