summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common
AgeCommit message (Collapse)Author
2004-04-28- fix some ppc be endianess issues, overlay works fine, grabbing does not ↵Michael Hunold
work reliably yet, though
2004-04-06- introduce new class variable, sets the i2c adapter class for 2.6 (unused ↵Michael Hunold
for 2.4)
2004-03-19- copy & paste error: don't check for streaming capture twice, check for ↵Michael Hunold
overlay video in one case
2004-03-16- fix two debug messages (mixed up streaming capture and overlay)Michael Hunold
- restrict S_FBUF ioctl to CAP_SYS_ADMIN or CAP_SYS_RAWIO - don't refuse setting S_FBUF when overlay is active (changes become visible with the next update)
2004-03-15- remove superfluous h_calc and v_field entries from internal saa7146_vvMichael Hunold
structure, fix all drivers defining this
2004-03-15- code review of what's actually needed to be protected by a spinlock and by ↵Michael Hunold
the device lock - this fixes the "in_atomic():1, irqs_disabled():1" warnings in the syslog
2004-03-12With the addition of the ressource management, an overlay couldn't beMichael Hunold
interrupted by a streaming capture any more. So: - revamp video_begin()/video_end(), saa7146_start_preview()/saa7146_stop_preview - clean up a lot of mess around the usage of these functions - allow overlay to be suspended by streaming capture again, if ressources are available
2004-03-11- minor debug output cleanup in the resource handling functionsMichael Hunold
- deny activation of streaming capture if overlay is active, apps must disable overlay first - fix resource handling for overlay - don't try to stop streaming capture when it's not running
2004-02-26[PATCH] C99 initializers for drivers/media/common/saa7146_video.c by Art HaasMichael Hunold
2004-02-22Initial revisionGerd Knorr
2004-02-20fix timeout bug on AMD64 in saa7146_wait_for_debi_done()Johannes Stezenbach
2004-02-02- don't free resources while spinlock is held (might sleep)Michael Hunold
2004-02-02- release resources for video overlay properly, don't rely on VIDIOC_OVERLAY(0)Michael Hunold
2004-01-26- don't try to disable video overlay if it wasn't enabled beforeMichael Hunold
(bug catched by new resource management)
2004-01-26- make sure to disable clipping before capturing, otherwise capturing mayMichael Hunold
not work - make sure to disable the right video dma at capture stop
2004-01-25use {min,max}_t instead of home-brewed my_{min,max} macros. ↵Michael Hunold
straight-forward. patch compiles, and tested. (from Eugene Teo <eugene.teo@eugeneteo.net>)
2004-01-18- sync media/common/Makefile with 2.6.1Michael Hunold
- remove video/Kconfig and video/Makefile, as they are not needed anymore
2004-01-14- bit masks are evil: disable the right video dma upon device close, otherwiseMichael Hunold
severe memory damage can occur...
2004-01-06fix build with 2.6.1-rc1-mm2 (VIDIOC_S_CTRL_OLD / VIDIOC_OVERLAY_OLD)Johannes Stezenbach
2004-01-05- fix compiler warningMichael Hunold
- fix problems caused by changes in ioctl definitions
2004-01-04- some small indentation fixes in saa7146_hlp.cMichael Hunold
- deny usage of planar formats for video overlay - more intelligent checks in VIDIOC_STREAMON and VIDIOC_STREAMOFF - fix read() capture while overlay is running
2004-01-03- fix memory leak when using custom pagetables for video dma,Michael Hunold
store the pointer in our saa7146_pagetable struct and free it later on correctly (only used by budget DVB drivers) - remove some commented out debug code
2004-01-03saa7146 driver improvements, only affects Video4Linux stuff:Michael Hunold
- 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
2003-12-21- don't disable the capture engine via video_end() before video-buf hasMichael Hunold
cleared the various capture queue and has shut down capturing (Thanks Gerd for explaining the pitfalls here!)
2003-12-18- use videobuf_waiton() non-interruptible, so signals won't disturb theMichael Hunold
cleanup of the capture buffers. otherwise the buffers were not cleaned up correctly when a program was killed by CTRL-C, which led to memory corruption and system crashes when capturing
2003-12-16- use DEB_INT for very verbose debugging outputMichael Hunold
2003-12-15- fix compilationMichael Hunold
- more video/vbi open/release fixes
2003-12-15- fix a bunch of race conditions and locking bugs in video and vbiMichael Hunold
capture code on device closure - change minimal picture size to 48x32 just like other drivers
2003-12-12- use vmalloc_32() instead of vmalloc() in saa7146_vmalloc_build_pgtable().Michael Hunold
this makes sure that the pagetable is in lowmem kernel memory, so we can DMA to it. this fixes the bug where budget-core.o oopsed on machines with highmem enabled.
2003-11-26- i2c timeout fix by Gerd KnorrMichael Hunold
2003-11-25introduced flag SAA7146_I2C_SHORT_DELAY to speed up I2C accessOliver Endriss
2003-11-20- move saa7146_set_gpio() from saa7146_vv to saa7146_coreMichael Hunold
- 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
2003-11-20- make saa7146_pgtable_build_single() deliver a return code, make someMichael Hunold
sanity checks of the arguments (if a bad pagetable is created, unpredictable thinks can happen. trust me... ;-) - follow this change for the several uses
2003-11-20- remove unnecessary "capture memory in framebuffer" special functionsMichael Hunold
which were commented out anyway - fix one typo
2003-11-14- sanitize enabling of video input pins and i2c pinsMichael Hunold
- use some default values, so the hardware is always in a sane state
2003-10-22- remove SAA7146_EXT_SWAP_ODD_EVEN flag + handlingMichael Hunold
- hopefully fix field handling for DVB-S cards with progressive mpeg
2003-10-16- fix usage of i2c name field (has been changed again, see this for moreMichael Hunold
details: http://linus.bkbits.net:8080/linux-2.5/cset@1.1123.4.1?nav=index.html|src/.|src/drivers|src/drivers/media|src/drivers/media/common|related/drivers/media/common/saa7146_i2c.c
2003-10-14- disable vbi workaround for dvb-c cards which use port bMichael Hunold
- set up arbitrition control for video dma3 correctly - clean up vbi capture queue properly on device close
2003-10-14Make cleanup handler interruptible.Michael Hunold
2003-10-14Include 2.6 kernel janitor cleanups (eliminate #include duplication, shiftMichael Hunold
includes around) -- I don't care much about this...
2003-10-09- backfeed patches from 2.6.0-test7, which have not gone through our cvs:Michael Hunold
- janitorial fixes (mostly return code handling) - spelling fixes in Kconfig files - line breaks to re-formatting
2003-10-06- add some debug and safety checks for video/vbi capture buffer handlingMichael Hunold
- fix init/exit of vbi capable devices - add new flag SAA7146_USE_PORT_B_FOR_VBI, so we can distinguish on which video port to apply the vbi workaround - add del_timer(...) for vbi capture queue and vbi_read timers, otherwise the kernel timer schedule oopses - add vbi device handling for dvb-c cards with analog module (does not work yet, have to setup the saa7113 decoder differently)
2003-10-01- clean up Kconfig files, use the new SELECT facilityMichael Hunold
- split up saa7146 compilation in core and video part
2003-09-29fix VIDIOC_S_FBUF for v4l1 backward compatility with xfree86 / v4l_drvJohannes Stezenbach
2003-08-26Fix bytesperline-calculation forMichael Hunold
V4L2_FIELD_ALTERNATE vs. V4L2_FIELD_INTERLACED captures
2003-08-16- re-disable the saa7146 master reset on device startup. I enabled thisMichael Hunold
for debugging purposes and committed this change by accident. My PC at home does a hard freeze when the master reset is done...
2003-08-11Fix typo, remove unused variable.Michael Hunold
2003-08-11- follow latest changes in video-bufMichael Hunold
- fix pgtable_build_single, it should work for all kinds of buffers (system memory (kernel/user) and gfx-memory) - add/change some debug messages
2003-08-04Remove debugging printk()s.Michael Hunold
2003-07-31Improvements regarding streaming capture to gfx card memory.Michael Hunold