From: Mauro Carvalho Chehab Date: Sun, 13 Apr 2008 17:58:21 +0000 (-0300) Subject: V4L/DVB (7552): videbuf-vmalloc: Corrects mmap code X-Git-Tag: v2.6.26-rc1~1084^2~162 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=968ced78a53509a996708a14e8b9269d1dc6a61c;p=pandora-kernel.git V4L/DVB (7552): videbuf-vmalloc: Corrects mmap code There were some bugs on videobuf-vmalloc. Basically, remap were called with a wrong parameter. Due to that, a later remap were needed, generating the need of some hacks on videobuf-vmalloc and videobuf-core. This patch fixes the remap and removes the hacks. TODO: - V4L2_MEMORY_USERPTR is not implemented yet. This method should be properly implemented, in order to work with a few userspace applications. - The driver also doesn't implement V4L2_MEMORY_OVERLAY. This method is used only by a few applications, and are becaming obsolete, due to the increment of cpu performance. So, most apps prefer to retrieve data to an internal buffer, doing some processing like de-interlacing. Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed