Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-14 Thread Mauro Carvalho Chehab
Em 18-04-2011 17:15, Jesse Barker escreveu: > One of the big issues we've been faced with at Linaro is around GPU > and multimedia device integration, in particular the memory management > requirements for supporting them on ARM. This next cycle, we'll be > focusing on driving consensus around a u

Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-14 Thread Mauro Carvalho Chehab
Em 18-04-2011 17:15, Jesse Barker escreveu: > One of the big issues we've been faced with at Linaro is around GPU > and multimedia device integration, in particular the memory management > requirements for supporting them on ARM. This next cycle, we'll be > focusing on driving consensus around a u

Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-14 Thread Mauro Carvalho Chehab
Em 18-04-2011 17:15, Jesse Barker escreveu: > One of the big issues we've been faced with at Linaro is around GPU > and multimedia device integration, in particular the memory management > requirements for supporting them on ARM. This next cycle, we'll be > focusing on driving consensus around a u

Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-14 Thread Mauro Carvalho Chehab
Em 18-04-2011 17:15, Jesse Barker escreveu: > One of the big issues we've been faced with at Linaro is around GPU > and multimedia device integration, in particular the memory management > requirements for supporting them on ARM. This next cycle, we'll be > focusing on driving consensus around a u

Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-14 Thread Mauro Carvalho Chehab
Em 18-04-2011 17:15, Jesse Barker escreveu: > One of the big issues we've been faced with at Linaro is around GPU > and multimedia device integration, in particular the memory management > requirements for supporting them on ARM. This next cycle, we'll be > focusing on driving consensus around a u

Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-14 Thread Mauro Carvalho Chehab
Em 18-04-2011 17:15, Jesse Barker escreveu: > One of the big issues we've been faced with at Linaro is around GPU > and multimedia device integration, in particular the memory management > requirements for supporting them on ARM. This next cycle, we'll be > focusing on driving consensus around a u

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-14 Thread Hans Verkuil
On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: > Em 18-04-2011 17:15, Jesse Barker escreveu: > > One of the big issues we've been faced with at Linaro is around GPU > > and multimedia device integration, in particular the memory management > > requirements for supporting them on AR

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-14 Thread Mauro Carvalho Chehab
Em 14-05-2011 13:02, Hans Verkuil escreveu: > On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: >> So, based at all I've seen, I'm pretty much convinced that the normal MMAP >> way of streaming (VIDIOC_[REQBUF|STREAMON|STREAMOFF|QBUF|DQBUF ioctl's) >> are not the best way to share da

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-15 Thread Hans Verkuil
On Saturday, May 14, 2011 13:46:03 Mauro Carvalho Chehab wrote: > Em 14-05-2011 13:02, Hans Verkuil escreveu: > > On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: > > >> So, based at all I've seen, I'm pretty much convinced that the normal MMAP > >> way of streaming (VIDIOC_[REQBUF|

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-15 Thread Alan Cox
> > On both cases, the requirement is to pass a framebuffer between two > > entities, > > and not a video stream. It may not even be a framebuffer. In many cases you'll pass a framebuffer or some memory target (in DRI think probably a GEM handle), in fact in theory you can do much of this now.

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-15 Thread Rob Clark
On Sun, May 15, 2011 at 4:27 PM, Alan Cox wrote: >> > On both cases, the requirement is to pass a framebuffer between two >> > entities, >> > and not a video stream. > > It may not even be a framebuffer. In many cases you'll pass a framebuffer > or some memory target (in DRI think probably a GEM

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-16 Thread Guennadi Liakhovetski
On Sat, 14 May 2011, Mauro Carvalho Chehab wrote: > Em 18-04-2011 17:15, Jesse Barker escreveu: > > One of the big issues we've been faced with at Linaro is around GPU > > and multimedia device integration, in particular the memory management > > requirements for supporting them on ARM. This next

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-18 Thread Mauro Carvalho Chehab
Em 15-05-2011 18:10, Hans Verkuil escreveu: > On Saturday, May 14, 2011 13:46:03 Mauro Carvalho Chehab wrote: >> Em 14-05-2011 13:02, Hans Verkuil escreveu: >>> On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: >> So, based at all I've seen, I'm pretty much convinced that the nor

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-18 Thread Mauro Carvalho Chehab
Em 17-05-2011 09:49, Mauro Carvalho Chehab escreveu: > Em 15-05-2011 18:10, Hans Verkuil escreveu: >> On Saturday, May 14, 2011 13:46:03 Mauro Carvalho Chehab wrote: >>> Em 14-05-2011 13:02, Hans Verkuil escreveu: On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: >>> > So, ba

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-18 Thread Mauro Carvalho Chehab
Em 16-05-2011 17:45, Guennadi Liakhovetski escreveu: > On Sat, 14 May 2011, Mauro Carvalho Chehab wrote: > >> Em 18-04-2011 17:15, Jesse Barker escreveu: >>> One of the big issues we've been faced with at Linaro is around GPU >>> and multimedia device integration, in particular the memory manageme

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-18 Thread Sakari Ailus
Hans Verkuil wrote: > Note that many video receivers cannot stall. You can't tell them to wait until > the last buffer finished processing. This is different from some/most? > sensors. Not even image sensors. They just output the frame data; if the receiver runs out of buffers the data is just lo

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-19 Thread Mauro Carvalho Chehab
Em 18-05-2011 16:46, Sakari Ailus escreveu: > Hans Verkuil wrote: >> Note that many video receivers cannot stall. You can't tell them to wait >> until >> the last buffer finished processing. This is different from some/most? >> sensors. > > Not even image sensors. They just output the frame data

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-14 Thread Hans Verkuil
On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: > Em 18-04-2011 17:15, Jesse Barker escreveu: > > One of the big issues we've been faced with at Linaro is around GPU > > and multimedia device integration, in particular the memory management > > requirements for supporting them on AR

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-14 Thread Mauro Carvalho Chehab
Em 14-05-2011 13:02, Hans Verkuil escreveu: > On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: >> So, based at all I've seen, I'm pretty much convinced that the normal MMAP >> way of streaming (VIDIOC_[REQBUF|STREAMON|STREAMOFF|QBUF|DQBUF ioctl's) >> are not the best way to share da

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-15 Thread Hans Verkuil
On Saturday, May 14, 2011 13:46:03 Mauro Carvalho Chehab wrote: > Em 14-05-2011 13:02, Hans Verkuil escreveu: > > On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: > > >> So, based at all I've seen, I'm pretty much convinced that the normal MMAP > >> way of streaming (VIDIOC_[REQBUF|

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-15 Thread Alan Cox
> > On both cases, the requirement is to pass a framebuffer between two > > entities, > > and not a video stream. It may not even be a framebuffer. In many cases you'll pass a framebuffer or some memory target (in DRI think probably a GEM handle), in fact in theory you can do much of this now.

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-15 Thread Rob Clark
On Sun, May 15, 2011 at 4:27 PM, Alan Cox wrote: >> > On both cases, the requirement is to pass a framebuffer between two >> > entities, >> > and not a video stream. > > It may not even be a framebuffer. In many cases you'll pass a framebuffer > or some memory target (in DRI think probably a GEM

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-16 Thread Guennadi Liakhovetski
On Sat, 14 May 2011, Mauro Carvalho Chehab wrote: > Em 18-04-2011 17:15, Jesse Barker escreveu: > > One of the big issues we've been faced with at Linaro is around GPU > > and multimedia device integration, in particular the memory management > > requirements for supporting them on ARM. This next

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-18 Thread Mauro Carvalho Chehab
Em 15-05-2011 18:10, Hans Verkuil escreveu: > On Saturday, May 14, 2011 13:46:03 Mauro Carvalho Chehab wrote: >> Em 14-05-2011 13:02, Hans Verkuil escreveu: >>> On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: >> So, based at all I've seen, I'm pretty much convinced that the nor

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-18 Thread Mauro Carvalho Chehab
Em 17-05-2011 09:49, Mauro Carvalho Chehab escreveu: > Em 15-05-2011 18:10, Hans Verkuil escreveu: >> On Saturday, May 14, 2011 13:46:03 Mauro Carvalho Chehab wrote: >>> Em 14-05-2011 13:02, Hans Verkuil escreveu: On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: >>> > So, ba

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-18 Thread Mauro Carvalho Chehab
Em 16-05-2011 17:45, Guennadi Liakhovetski escreveu: > On Sat, 14 May 2011, Mauro Carvalho Chehab wrote: > >> Em 18-04-2011 17:15, Jesse Barker escreveu: >>> One of the big issues we've been faced with at Linaro is around GPU >>> and multimedia device integration, in particular the memory manageme

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-18 Thread Sakari Ailus
Hans Verkuil wrote: > Note that many video receivers cannot stall. You can't tell them to wait until > the last buffer finished processing. This is different from some/most? > sensors. Not even image sensors. They just output the frame data; if the receiver runs out of buffers the data is just lo

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-19 Thread Mauro Carvalho Chehab
Em 18-05-2011 16:46, Sakari Ailus escreveu: > Hans Verkuil wrote: >> Note that many video receivers cannot stall. You can't tell them to wait >> until >> the last buffer finished processing. This is different from some/most? >> sensors. > > Not even image sensors. They just output the frame data

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-14 Thread Hans Verkuil
On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: > Em 18-04-2011 17:15, Jesse Barker escreveu: > > One of the big issues we've been faced with at Linaro is around GPU > > and multimedia device integration, in particular the memory management > > requirements for supporting them on AR

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-14 Thread Mauro Carvalho Chehab
Em 14-05-2011 13:02, Hans Verkuil escreveu: > On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: >> So, based at all I've seen, I'm pretty much convinced that the normal MMAP >> way of streaming (VIDIOC_[REQBUF|STREAMON|STREAMOFF|QBUF|DQBUF ioctl's) >> are not the best way to share da

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-15 Thread Hans Verkuil
On Saturday, May 14, 2011 13:46:03 Mauro Carvalho Chehab wrote: > Em 14-05-2011 13:02, Hans Verkuil escreveu: > > On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: > > >> So, based at all I've seen, I'm pretty much convinced that the normal MMAP > >> way of streaming (VIDIOC_[REQBUF|

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-15 Thread Alan Cox
> > On both cases, the requirement is to pass a framebuffer between two > > entities, > > and not a video stream. It may not even be a framebuffer. In many cases you'll pass a framebuffer or some memory target (in DRI think probably a GEM handle), in fact in theory you can do much of this now.

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-15 Thread Rob Clark
On Sun, May 15, 2011 at 4:27 PM, Alan Cox wrote: >> > On both cases, the requirement is to pass a framebuffer between two >> > entities, >> > and not a video stream. > > It may not even be a framebuffer. In many cases you'll pass a framebuffer > or some memory target (in DRI think probably a GEM

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-16 Thread Guennadi Liakhovetski
On Sat, 14 May 2011, Mauro Carvalho Chehab wrote: > Em 18-04-2011 17:15, Jesse Barker escreveu: > > One of the big issues we've been faced with at Linaro is around GPU > > and multimedia device integration, in particular the memory management > > requirements for supporting them on ARM. This next

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-18 Thread Mauro Carvalho Chehab
Em 15-05-2011 18:10, Hans Verkuil escreveu: > On Saturday, May 14, 2011 13:46:03 Mauro Carvalho Chehab wrote: >> Em 14-05-2011 13:02, Hans Verkuil escreveu: >>> On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: >> So, based at all I've seen, I'm pretty much convinced that the nor

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-18 Thread Mauro Carvalho Chehab
Em 17-05-2011 09:49, Mauro Carvalho Chehab escreveu: > Em 15-05-2011 18:10, Hans Verkuil escreveu: >> On Saturday, May 14, 2011 13:46:03 Mauro Carvalho Chehab wrote: >>> Em 14-05-2011 13:02, Hans Verkuil escreveu: On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: >>> > So, ba

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-18 Thread Mauro Carvalho Chehab
Em 16-05-2011 17:45, Guennadi Liakhovetski escreveu: > On Sat, 14 May 2011, Mauro Carvalho Chehab wrote: > >> Em 18-04-2011 17:15, Jesse Barker escreveu: >>> One of the big issues we've been faced with at Linaro is around GPU >>> and multimedia device integration, in particular the memory manageme

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-18 Thread Sakari Ailus
Hans Verkuil wrote: > Note that many video receivers cannot stall. You can't tell them to wait until > the last buffer finished processing. This is different from some/most? > sensors. Not even image sensors. They just output the frame data; if the receiver runs out of buffers the data is just lo

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-19 Thread Mauro Carvalho Chehab
Em 18-05-2011 16:46, Sakari Ailus escreveu: > Hans Verkuil wrote: >> Note that many video receivers cannot stall. You can't tell them to wait >> until >> the last buffer finished processing. This is different from some/most? >> sensors. > > Not even image sensors. They just output the frame data

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-14 Thread Hans Verkuil
On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: > Em 18-04-2011 17:15, Jesse Barker escreveu: > > One of the big issues we've been faced with at Linaro is around GPU > > and multimedia device integration, in particular the memory management > > requirements for supporting them on AR

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-14 Thread Mauro Carvalho Chehab
Em 14-05-2011 13:02, Hans Verkuil escreveu: > On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: >> So, based at all I've seen, I'm pretty much convinced that the normal MMAP >> way of streaming (VIDIOC_[REQBUF|STREAMON|STREAMOFF|QBUF|DQBUF ioctl's) >> are not the best way to share da

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-15 Thread Hans Verkuil
On Saturday, May 14, 2011 13:46:03 Mauro Carvalho Chehab wrote: > Em 14-05-2011 13:02, Hans Verkuil escreveu: > > On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: > > >> So, based at all I've seen, I'm pretty much convinced that the normal MMAP > >> way of streaming (VIDIOC_[REQBUF|

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-15 Thread Alan Cox
> > On both cases, the requirement is to pass a framebuffer between two > > entities, > > and not a video stream. It may not even be a framebuffer. In many cases you'll pass a framebuffer or some memory target (in DRI think probably a GEM handle), in fact in theory you can do much of this now.

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-15 Thread Rob Clark
On Sun, May 15, 2011 at 4:27 PM, Alan Cox wrote: >> > On both cases, the requirement is to pass a framebuffer between two >> > entities, >> > and not a video stream. > > It may not even be a framebuffer. In many cases you'll pass a framebuffer > or some memory target (in DRI think probably a GEM

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-16 Thread Guennadi Liakhovetski
On Sat, 14 May 2011, Mauro Carvalho Chehab wrote: > Em 18-04-2011 17:15, Jesse Barker escreveu: > > One of the big issues we've been faced with at Linaro is around GPU > > and multimedia device integration, in particular the memory management > > requirements for supporting them on ARM. This next

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-18 Thread Mauro Carvalho Chehab
Em 15-05-2011 18:10, Hans Verkuil escreveu: > On Saturday, May 14, 2011 13:46:03 Mauro Carvalho Chehab wrote: >> Em 14-05-2011 13:02, Hans Verkuil escreveu: >>> On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: >> So, based at all I've seen, I'm pretty much convinced that the nor

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-18 Thread Mauro Carvalho Chehab
Em 17-05-2011 09:49, Mauro Carvalho Chehab escreveu: > Em 15-05-2011 18:10, Hans Verkuil escreveu: >> On Saturday, May 14, 2011 13:46:03 Mauro Carvalho Chehab wrote: >>> Em 14-05-2011 13:02, Hans Verkuil escreveu: On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: >>> > So, ba

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-18 Thread Mauro Carvalho Chehab
Em 16-05-2011 17:45, Guennadi Liakhovetski escreveu: > On Sat, 14 May 2011, Mauro Carvalho Chehab wrote: > >> Em 18-04-2011 17:15, Jesse Barker escreveu: >>> One of the big issues we've been faced with at Linaro is around GPU >>> and multimedia device integration, in particular the memory manageme

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-18 Thread Sakari Ailus
Hans Verkuil wrote: > Note that many video receivers cannot stall. You can't tell them to wait until > the last buffer finished processing. This is different from some/most? > sensors. Not even image sensors. They just output the frame data; if the receiver runs out of buffers the data is just lo

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-19 Thread Mauro Carvalho Chehab
Em 18-05-2011 16:46, Sakari Ailus escreveu: > Hans Verkuil wrote: >> Note that many video receivers cannot stall. You can't tell them to wait >> until >> the last buffer finished processing. This is different from some/most? >> sensors. > > Not even image sensors. They just output the frame data

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-14 Thread Hans Verkuil
On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: > Em 18-04-2011 17:15, Jesse Barker escreveu: > > One of the big issues we've been faced with at Linaro is around GPU > > and multimedia device integration, in particular the memory management > > requirements for supporting them on AR

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-14 Thread Mauro Carvalho Chehab
Em 14-05-2011 13:02, Hans Verkuil escreveu: > On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: >> So, based at all I've seen, I'm pretty much convinced that the normal MMAP >> way of streaming (VIDIOC_[REQBUF|STREAMON|STREAMOFF|QBUF|DQBUF ioctl's) >> are not the best way to share da

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-15 Thread Hans Verkuil
On Saturday, May 14, 2011 13:46:03 Mauro Carvalho Chehab wrote: > Em 14-05-2011 13:02, Hans Verkuil escreveu: > > On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: > > >> So, based at all I've seen, I'm pretty much convinced that the normal MMAP > >> way of streaming (VIDIOC_[REQBUF|

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-15 Thread Alan Cox
> > On both cases, the requirement is to pass a framebuffer between two > > entities, > > and not a video stream. It may not even be a framebuffer. In many cases you'll pass a framebuffer or some memory target (in DRI think probably a GEM handle), in fact in theory you can do much of this now.

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-15 Thread Rob Clark
On Sun, May 15, 2011 at 4:27 PM, Alan Cox wrote: >> > On both cases, the requirement is to pass a framebuffer between two >> > entities, >> > and not a video stream. > > It may not even be a framebuffer. In many cases you'll pass a framebuffer > or some memory target (in DRI think probably a GEM

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-16 Thread Guennadi Liakhovetski
On Sat, 14 May 2011, Mauro Carvalho Chehab wrote: > Em 18-04-2011 17:15, Jesse Barker escreveu: > > One of the big issues we've been faced with at Linaro is around GPU > > and multimedia device integration, in particular the memory management > > requirements for supporting them on ARM. This next

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-18 Thread Mauro Carvalho Chehab
Em 15-05-2011 18:10, Hans Verkuil escreveu: > On Saturday, May 14, 2011 13:46:03 Mauro Carvalho Chehab wrote: >> Em 14-05-2011 13:02, Hans Verkuil escreveu: >>> On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: >> So, based at all I've seen, I'm pretty much convinced that the nor

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-18 Thread Mauro Carvalho Chehab
Em 17-05-2011 09:49, Mauro Carvalho Chehab escreveu: > Em 15-05-2011 18:10, Hans Verkuil escreveu: >> On Saturday, May 14, 2011 13:46:03 Mauro Carvalho Chehab wrote: >>> Em 14-05-2011 13:02, Hans Verkuil escreveu: On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: >>> > So, ba

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-18 Thread Mauro Carvalho Chehab
Em 16-05-2011 17:45, Guennadi Liakhovetski escreveu: > On Sat, 14 May 2011, Mauro Carvalho Chehab wrote: > >> Em 18-04-2011 17:15, Jesse Barker escreveu: >>> One of the big issues we've been faced with at Linaro is around GPU >>> and multimedia device integration, in particular the memory manageme

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-18 Thread Sakari Ailus
Hans Verkuil wrote: > Note that many video receivers cannot stall. You can't tell them to wait until > the last buffer finished processing. This is different from some/most? > sensors. Not even image sensors. They just output the frame data; if the receiver runs out of buffers the data is just lo

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-19 Thread Mauro Carvalho Chehab
Em 18-05-2011 16:46, Sakari Ailus escreveu: > Hans Verkuil wrote: >> Note that many video receivers cannot stall. You can't tell them to wait >> until >> the last buffer finished processing. This is different from some/most? >> sensors. > > Not even image sensors. They just output the frame data

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-14 Thread Hans Verkuil
On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: > Em 18-04-2011 17:15, Jesse Barker escreveu: > > One of the big issues we've been faced with at Linaro is around GPU > > and multimedia device integration, in particular the memory management > > requirements for supporting them on AR

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-14 Thread Mauro Carvalho Chehab
Em 14-05-2011 13:02, Hans Verkuil escreveu: > On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: >> So, based at all I've seen, I'm pretty much convinced that the normal MMAP >> way of streaming (VIDIOC_[REQBUF|STREAMON|STREAMOFF|QBUF|DQBUF ioctl's) >> are not the best way to share da

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-15 Thread Hans Verkuil
On Saturday, May 14, 2011 13:46:03 Mauro Carvalho Chehab wrote: > Em 14-05-2011 13:02, Hans Verkuil escreveu: > > On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: > > >> So, based at all I've seen, I'm pretty much convinced that the normal MMAP > >> way of streaming (VIDIOC_[REQBUF|

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-15 Thread Alan Cox
> > On both cases, the requirement is to pass a framebuffer between two > > entities, > > and not a video stream. It may not even be a framebuffer. In many cases you'll pass a framebuffer or some memory target (in DRI think probably a GEM handle), in fact in theory you can do much of this now.

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-15 Thread Rob Clark
On Sun, May 15, 2011 at 4:27 PM, Alan Cox wrote: >> > On both cases, the requirement is to pass a framebuffer between two >> > entities, >> > and not a video stream. > > It may not even be a framebuffer. In many cases you'll pass a framebuffer > or some memory target (in DRI think probably a GEM

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-16 Thread Guennadi Liakhovetski
On Sat, 14 May 2011, Mauro Carvalho Chehab wrote: > Em 18-04-2011 17:15, Jesse Barker escreveu: > > One of the big issues we've been faced with at Linaro is around GPU > > and multimedia device integration, in particular the memory management > > requirements for supporting them on ARM. This next

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-18 Thread Mauro Carvalho Chehab
Em 15-05-2011 18:10, Hans Verkuil escreveu: > On Saturday, May 14, 2011 13:46:03 Mauro Carvalho Chehab wrote: >> Em 14-05-2011 13:02, Hans Verkuil escreveu: >>> On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: >> So, based at all I've seen, I'm pretty much convinced that the nor

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-18 Thread Mauro Carvalho Chehab
Em 17-05-2011 09:49, Mauro Carvalho Chehab escreveu: > Em 15-05-2011 18:10, Hans Verkuil escreveu: >> On Saturday, May 14, 2011 13:46:03 Mauro Carvalho Chehab wrote: >>> Em 14-05-2011 13:02, Hans Verkuil escreveu: On Saturday, May 14, 2011 12:19:18 Mauro Carvalho Chehab wrote: >>> > So, ba

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-18 Thread Mauro Carvalho Chehab
Em 16-05-2011 17:45, Guennadi Liakhovetski escreveu: > On Sat, 14 May 2011, Mauro Carvalho Chehab wrote: > >> Em 18-04-2011 17:15, Jesse Barker escreveu: >>> One of the big issues we've been faced with at Linaro is around GPU >>> and multimedia device integration, in particular the memory manageme

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-18 Thread Sakari Ailus
Hans Verkuil wrote: > Note that many video receivers cannot stall. You can't tell them to wait until > the last buffer finished processing. This is different from some/most? > sensors. Not even image sensors. They just output the frame data; if the receiver runs out of buffers the data is just lo

Re: Summary of the V4L2 discussions during LDS - was: Re: Embedded Linux memory management interest group list

2011-05-19 Thread Mauro Carvalho Chehab
Em 18-05-2011 16:46, Sakari Ailus escreveu: > Hans Verkuil wrote: >> Note that many video receivers cannot stall. You can't tell them to wait >> until >> the last buffer finished processing. This is different from some/most? >> sensors. > > Not even image sensors. They just output the frame data