OpenCloudOS-Kernel/Documentation/userspace-api/media
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
..
cec media: cec/core: clarify rx-arb-lost usage message 2021-04-06 16:08:38 +02:00
drivers media: Rename V4L2_PIX_FMT_HM12 to V4L2_PIX_FMT_NV12_16L16 2021-09-30 10:07:39 +02:00
dvb media: docs: move DVB audio/video docs to staging 2021-06-04 08:08:17 +02:00
mediactl media: docs: uAPI: fix table output in LaTeX/PDF format 2021-03-11 11:59:40 +01:00
rc media: docs: uAPI: fix table output in LaTeX/PDF format 2021-03-11 11:59:40 +01:00
v4l media: videobuf2: handle V4L2_MEMORY_FLAG_NON_COHERENT flag 2021-09-30 10:07:57 +02:00
Makefile media: docs: move DVB audio/video docs to staging 2021-06-04 08:08:17 +02:00
ca.h.rst.exceptions
cec.h.rst.exceptions media: include/uapi/linux/cec.h: typo: SATERDAY -> SATURDAY 2021-07-12 09:16:29 +02:00
conf_nitpick.py Documentation: media: convert to use i2c_new_client_device() 2020-06-19 09:20:25 +02:00
dmx.h.rst.exceptions
fdl-appendix.rst docs: userspace-api: media: fdl-appendix.rst: replace some characters 2021-06-02 15:12:17 +02:00
frontend.h.rst.exceptions
gen-errors.rst media: docs: use the new SPDX header for GFDL-1.1 on *.rst files 2020-09-01 14:13:30 +02:00
glossary.rst media: userspace-api: avoid using ReST :doc:`foo` markup 2021-06-16 07:26:46 +02:00
index.rst media: docs: */media/index.rst: don't use ReST doc:`foo` 2021-06-16 07:26:46 +02:00
intro.rst
lirc.h.rst.exceptions media: lirc: fix lirc.h documentation generation 2020-11-26 14:29:37 +01:00
media.h.rst.exceptions
net.h.rst.exceptions
typical_media_device.svg media: docs: use the new SPDX header for GFDL-1.1 on *.svg files 2020-09-01 14:13:30 +02:00
videodev2.h.rst.exceptions media: Rename V4L2_PIX_FMT_HM12 to V4L2_PIX_FMT_NV12_16L16 2021-09-30 10:07:39 +02:00