mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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> |
||
|---|---|---|
| .. | ||
| cec | ||
| drivers | ||
| dvb | ||
| mediactl | ||
| rc | ||
| v4l | ||
| ca.h.rst.exceptions | ||
| cec.h.rst.exceptions | ||
| conf_nitpick.py | ||
| dmx.h.rst.exceptions | ||
| fdl-appendix.rst | ||
| frontend.h.rst.exceptions | ||
| gen-errors.rst | ||
| glossary.rst | ||
| index.rst | ||
| intro.rst | ||
| lirc.h.rst.exceptions | ||
| Makefile | ||
| media.h.rst.exceptions | ||
| net.h.rst.exceptions | ||
| typical_media_device.svg | ||
| videodev2.h.rst.exceptions | ||