Re: [RFC][PATCH 02/15] videobuf2: handle V4L2 buffer cache flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On (20/01/22 10:39), Sergey Senozhatsky wrote:
> [..]
> > >  }
> > >  
> > > +static void set_buffer_cache_hints(struct vb2_queue *q,
> > > +				   struct vb2_buffer *vb,
> > > +				   struct v4l2_buffer *b)
> > > +{
> > > +	vb->need_cache_sync_on_prepare = 1;
> > > +
> > > +	if (q->dma_dir != DMA_TO_DEVICE)
> > 
> > What should be done when dma_dir == DMA_BIDIRECTIONAL?
> 

[..]

> We probably cannot enforce any other behavior here. Am I missing
> something?

Never mind. I got your point.

	-ss



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux