linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question about V4L2_MEMORY_USERPTR
@ 2012-03-23  7:19 Hans Petter Selasky
  2012-07-01 14:00 ` Sakari Ailus
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Petter Selasky @ 2012-03-23  7:19 UTC (permalink / raw)
  To: linux-media

Hi,

I have a question about V4L2_MEMORY_USERPTR:

>From which context are the kernel's "copy_to_user()" functions called in 
relation to V4L2_MEMORY_USERPTR ? Can this be a USB callback function or is it 
only syscalls, like read/write/ioctl that are allowed to call "copy_to_user()" 
?

The reason for asking is that I am maintaining a userland port of the media 
tree's USB drivers for FreeBSD. At the present moment it is not allowed to 
call copy_to_user() or copy_from_user() unless the backtrace shows a syscall, 
so the V4L2_MEMORY_USERPTR feature is simply removed and disabled. I'm 
currently thinking how I can enable this feature.

--HPS

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-07-05 17:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-23  7:19 Question about V4L2_MEMORY_USERPTR Hans Petter Selasky
2012-07-01 14:00 ` Sakari Ailus
2012-07-02  9:24   ` Laurent Pinchart
2012-07-02 19:07     ` Hans Petter Selasky
2012-07-05 17:24       ` Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).