Age | Commit message (Collapse) | Author |
|
From: Al Viro <viro@ftp.linux.org.uk>
Annotations + stop saa7146_i2c from playing fast and loose with
reuse of ->cpu_addr for host-endian.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Due to the feedback I got, I've changed the -git patch. This needs to be
reflected also at -hg tree.
kernel-sync:
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
Move tuners to common/tuners
There were several issues in the past, caused by the hybrid tuner design, since
now, the same tuner can be used by drivers/media/dvb and drivers/media/video.
This patch moves those common tuners into a common dir. It also moves saa7146
driver into drivers/media/video, where other hybrid drivers are placed.
Kconfig items were rearranged, to split V4L/DVB core from their drivers.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
kernel-sync:
Author: Jan Engelhardt <jengelh@gmx.de>
Date: Fri Oct 19 23:21:04 2007 +0200
Convert files to UTF-8 and some cleanups
* Convert files to UTF-8.
* Also correct some people's names
(one example is Eißfeldt, which was found in a source file.
Given that the author used an ß at all in a source file
indicates that the real name has in fact a 'ß' and not an 'ss',
which is commonly used as a substitute for 'ß' when limited to
7bit.)
* Correct town names (Goettingen -> Göttingen)
* Update Eberhard Mönkeberg's address (http://lkml.org/lkml/2007/1/8/313)
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Due to several internal API changes on kernel, kernel backward
compatibility were lost. Basically, compat.h should be the last include
for it to work properly.
This patch basically reorders kernel headers to allow backward compat to
work fine.
Also:
Some includes were added after some non-include macros, on old drivers.
Better to keep all includes at the beginning of the files.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Adrian Bunk <bunk@stusta.de>
kernel-sync: backport from kernel to v4l/dvb tree
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Adrian Bunk <bunk@stusta.de>
This patch moves the EXPORT_SYMBOL's from
drivers/media/common/saa7146_vv_ksyms.c to the files with the actual
functions.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
Add the fix for the saa7146 64-bit compile warning (again). This time with
comments and checked by Johannes Stezenbach.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
- Reverted objectionable fix in saa7146_hlp.c
- Merged in improved dvb 64-bit fixes from Peter Beutner.
Signed-off-by: Peter Beutner <p.beutner@gmx.net>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
|
|
- remove unused code
Thanks to Adrian Bunk <bunk@stusta.de>
|
|
work reliably yet, though
|
|
structure, fix all drivers defining this
|
|
not work
- make sure to disable the right video dma at capture stop
|
|
straight-forward. patch compiles, and tested. (from Eugene Teo <eugene.teo@eugeneteo.net>)
|
|
- deny usage of planar formats for video overlay
- more intelligent checks in VIDIOC_STREAMON and VIDIOC_STREAMOFF
- fix read() capture while overlay is running
|
|
- add resource management functions
- lock various stuff against each other, mostly vbi capture vs. planar capture
formats, which use the same video dma
- remove old commented out code
- add new "flag" variable to saa7146_formats struct, store the information
if a capture format is planar or packed
- check for return codes at various places
|
|
- add "new" saa7146_wait_for_debi_done() function, remove other versions
from av7110 and budget.ci
- make budget-ci use this gpio function and the new wait_...() function,
therefore fix
BORROWED_FROM_AV7110_H_BUT_REALLY_BELONGS_IN_SAA7146_DEFS_H remark
|
|
- hopefully fix field handling for DVB-S cards with progressive mpeg
|
|
- fix pgtable_build_single, it should work for all kinds of
buffers (system memory (kernel/user) and gfx-memory)
- add/change some debug messages
|
|
|
|
actually waiting for the field change.
|
|
for an even frame to start with, not an odd frame. This makes applications
happy that expect this (ie. tvtime), but don't specify the correct mode
instead. We behave now like bttv...
|
|
of a per-extension information. This is needed for the DVB-C cards,
which seem to have swapped field order and need to propagate some
video4linux specific stuff for the analog module to work.
|
|
|
|
to different frames were sometimes mixed)
- first try to get alternating field capture running
- add/change some debug messages
|
|
|
|
Alan Cox reformatted the code to follow his coding style when
he fixed the merge bugs.
This patch now introduces these coding style changes, so
that we don't wipe out his changes with the next patchset.
|
|
driver subsystem.
|
|
use KBUILD_BASENAME for 2.4 instead
some changes to the i2c core to make it work with both 2.4 and late 2.5
kernels (not done yet -- only interesting for analog drivers)
- add MODULE_DEVICE_TABLE to all drivers, so that pci "hotplug" can detect
the devices automatically. Alan Cox says, that we should use this to load
the firmware (not done yet)
- fix the long standing "insmod/rmmod with multiple budget cards" bug -- it
was a double kfree() call...
|
|
makelinks: adjust the script for the upcoming kernel patches
driver.mxb: prevent the tuner module from probing unnecessary i2c addresses
getlinks: put symlinks for the header files to the right place(TM)
videodev.c: add a verbose error message just for the case that a user
has compiled the v4l module into the kernel
media/Kconfig: the dpc driver does not the tuner module
saa7146_hlp.c: honour the swapped field order for av7110 based cards
in capture mode, too
saa7146_video.c: add some verbose messages for the v4l2 controls
mxb.c: hopefully fix the detection and initialization of the sound arena module
|
|
"dvb-kernel" tree into shape for direct inclusion into the
2.5.x kernel.
|
|
"nvrec"... (red/blue were swapped)
|
|
- V4L2_PIX_FMT_YUV422P: YUV 4:2:2 planar (Y-Cb-Cr)
- V4L2_PIX_FMT_YVU420: YVU 4:2:0 planar (Y-Cb-Cr)
- V4L2_PIX_FMT_YUV420: YUV 4:2:0 planar (Y-Cb-Cr)
Planar modes don't suffer from the saa7146 byte swap bug, so we
can deliver the formats needed by various video encoders, like "mp1e"
or "nvrec".
Added some notes to the TODO file.
|
|
- removed unused variables
- other code clenaups
- corrected H_PIXELS_PAL to 720 (not used for DVB-cards)
|
|
(tested on 2.4.18 and 2.5.53 -- the budget driver is
untested, Holger will test it the next week)
saa7146:
- completely separated the saa7146 driver into a core-driver (saa7146.o) and
a video/vbi part (saa7146_vv.o). this allows you to build the budget driver
without av7110 and videodev bloat (see below)
The following thinks have been approved by Holger Waechtler:
av7110 (now ttpci):
- for 2.5.x: removed the av7110 directory and put everything into ttpci.
- removed all budget card support from this driver
- compile and build fixes for the saa7146 changes
ttpci-budget (new):
- for 2.5.x: created a new ttpci-budget directory, added a new driver for
the budget cards
mxb:
- compile and build fixes for the saa7146 changes
Changed the build and compile files for both 2.5.x and build-2.4 of course...
|
|
file to reflect the latest changes.
|
|
(ie. the av7110) handle the odd/even fields differently. I added a new
field to the extension, which holds special flags of the extension and the
device. I declared the MXB way of handling fields as "normal", so the
av7110 extension sets SAA7146_EXT_SWAP_ODD_EVEN here.
@Holger: I added some superfluous "struct saa7146_dev *dev" variables
back to some functions. These cause ugly warnings at compile time, I admit,
but they are necessary if you want to use the debug macros to trace a
saa7146 register for example. Please leave them in for now -- I need this
when I switch between old-DVB / old-MXB <=> new-DVB / new-MXB drivers and
try to hack out the differences.
|
|
READMEs accordingly, compile fixes for the mxb driver.
|
|
for the new saa7146 core, the mxb driver and the saa7111 driver.
|
|
|