]> err.no Git - linux-2.6/commit
V4L/DVB (7886): ivtvfb: Use DMA for write()
authorIan Armstrong <ian@iarmst.co.uk>
Mon, 12 May 2008 14:53:10 +0000 (11:53 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:05:57 +0000 (07:05 -0300)
commit4cbeb3711481a7e563fe4c61888986c4aa1cb22e
treeb672ed149fb8fe2544867f7d8b883df67814e7ac
parent5a4f5da6552e6c55eff6fbddfee3eab908325c63
V4L/DVB (7886): ivtvfb: Use DMA for write()

write() operations to the ivtv framebuffer will now attempt to use DMA if the
amount of data to copy is >= 4096 bytes. This change effectively depreciates
the need for the proprietary IVTVFB_IOC_DMA_FRAME ioctl since a write() of
sufficient size will do the same thing.

Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtvfb.c