Re: [PATCH] media/v4l2: remove V4L2-FLAG-MEMORY-NON-CONSISTENT flag

2020-09-11 Thread Sergey Senozhatsky
On (20/09/11 12:37), Hans Verkuil wrote: > I'll take care of that. I also discovered that one call to vb2_core_reqbufs() > wasn't updated (in drivers/media/dvb-core/dvb_vb2.c). I've fixed that as well. Oh.. how did I miss drivers/media/dvb-core/dvb_vb2.c? Should have grep-ed more. -ss

Re: [PATCH] media/v4l2: remove V4L2-FLAG-MEMORY-NON-CONSISTENT flag

2020-09-11 Thread Hans Verkuil
On 11/09/2020 12:09, Christoph Hellwig wrote: > Btw, the subject should probably read something like: > > media/v4l2: remove the V4L2_FLAG_MEMORY_NON_CONSISTENT flag > > I messed up the spelling because I copied it from the documentation. > I'll take care of that. I also discovered that one

Re: [PATCH] media/v4l2: remove V4L2-FLAG-MEMORY-NON-CONSISTENT flag

2020-09-11 Thread Christoph Hellwig
Btw, the subject should probably read something like: media/v4l2: remove the V4L2_FLAG_MEMORY_NON_CONSISTENT flag I messed up the spelling because I copied it from the documentation.

[PATCH] media/v4l2: remove V4L2-FLAG-MEMORY-NON-CONSISTENT flag

2020-09-10 Thread Sergey Senozhatsky
The patch partially reverts some of the UAPI bits of the buffer cache management hints. Namely, the queue consistency (memory coherency) user-space hint because, as it turned out, the kernel implementation of this feature was misusing DMA_ATTR_NON_CONSISTENT. The patch revers both kernel and user