Sergey Senozhatsky
c0acf9cfee
media: videobuf2: handle V4L2_MEMORY_FLAG_NON_COHERENT flag
...
This patch lets user-space request a non-coherent memory
allocation during CREATE_BUFS and REQBUFS ioctl calls.
= CREATE_BUFS
struct v4l2_create_buffers has seven 4-byte reserved areas,
so reserved[0] is renamed to ->flags. The struct, thus, now
has six reserved 4-byte regions.
= CREATE_BUFS32
struct v4l2_create_buffers32 has seven 4-byte reserved areas,
so reserved[0] is renamed to ->flags. The struct, thus, now
has six reserved 4-byte regions.
= REQBUFS
We use one byte of a 4 byte ->reserved[1] member of struct
v4l2_requestbuffers. The struct, thus, now has reserved 3 bytes.
Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-09-30 10:07:57 +02:00
..
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2021-06-02 15:12:18 +02:00
2021-09-30 10:07:57 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2021-03-11 11:59:39 +01:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2021-04-06 14:55:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2021-03-11 11:59:40 +01:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-10-15 07:49:39 +02:00
2021-06-02 15:12:18 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-12-03 12:27:32 +01:00
2021-03-11 11:59:40 +01:00
2020-09-01 14:13:30 +02:00
2020-10-15 07:49:39 +02:00
2021-03-11 11:59:40 +01:00
2020-09-01 14:13:30 +02:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2021-03-11 11:59:40 +01:00
2020-10-15 07:49:39 +02:00
2020-09-01 14:13:30 +02:00
2021-03-11 11:59:40 +01:00
2021-05-25 17:03:29 +02:00
2021-09-30 10:07:38 +02:00
2021-04-06 14:56:49 +02:00
2020-09-01 14:13:30 +02:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2021-08-04 14:43:50 +02:00
2021-09-30 10:07:46 +02:00
2021-03-11 11:59:39 +01:00
2020-09-01 14:13:30 +02:00
2020-12-03 12:27:32 +01:00
2021-03-11 11:59:40 +01:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-10-15 07:49:39 +02:00
2020-10-15 07:49:39 +02:00
2020-10-15 07:49:39 +02:00
2020-10-15 07:49:39 +02:00
2020-10-15 07:49:39 +02:00
2020-10-15 07:49:39 +02:00
2020-10-15 07:49:39 +02:00
2020-10-15 07:49:39 +02:00
2020-10-15 07:49:39 +02:00
2020-10-15 07:49:39 +02:00
2020-10-15 07:49:39 +02:00
2020-09-01 14:13:30 +02:00
2020-10-15 07:49:39 +02:00
2020-10-15 07:49:39 +02:00
2020-09-01 14:13:30 +02:00
2020-09-27 11:18:24 +02:00
2020-10-15 07:49:39 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-10-15 07:49:39 +02:00
2020-09-01 14:13:30 +02:00
2021-05-23 19:21:31 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-12-07 14:10:27 +01:00
2020-09-01 14:13:30 +02:00
2021-06-02 11:47:16 +02:00
2020-12-03 13:54:54 +01:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2021-03-22 10:34:16 +01:00
2021-09-30 10:07:42 +02:00
2021-03-11 11:59:40 +01:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2021-03-11 11:59:39 +01:00
2021-03-11 11:59:40 +01:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2021-03-11 11:59:40 +01:00
2020-09-01 14:13:30 +02:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:39 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:39 +01:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2021-03-11 11:59:40 +01:00
2021-09-30 10:07:40 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-10-15 07:49:39 +02:00
2020-09-01 14:13:30 +02:00
2020-11-27 12:52:20 +01:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-10-15 07:49:39 +02:00
2021-03-22 11:53:28 +01:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-10-15 07:49:39 +02:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2020-09-01 14:13:30 +02:00
2020-09-01 14:13:30 +02:00
2021-09-30 10:07:57 +02:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2020-10-15 07:49:39 +02:00
2020-10-15 07:49:39 +02:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-09-30 10:07:48 +02:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-09-30 10:07:48 +02:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2020-10-15 07:49:39 +02:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2020-11-27 12:51:30 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2020-10-15 07:49:39 +02:00
2021-03-11 11:59:40 +01:00
2020-10-15 07:49:39 +02:00
2020-10-15 07:49:39 +02:00
2020-10-15 07:49:39 +02:00
2020-11-27 12:51:08 +01:00
2020-10-15 07:49:39 +02:00
2020-10-15 07:49:39 +02:00
2021-03-11 11:59:40 +01:00
2021-09-30 10:07:38 +02:00
2020-10-15 07:49:39 +02:00
2021-09-30 10:07:57 +02:00
2021-03-11 11:59:40 +01:00
2020-10-15 07:49:39 +02:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2021-03-11 11:59:40 +01:00
2020-12-07 14:22:34 +01:00