diff options
author | Hans Verkuil | 2018-05-21 10:54:40 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab | 2018-08-31 17:12:01 +0200 |
commit | 6fa6f831f0950bf46934e6c3a9766b258a9ea85f (patch) | |
tree | 28bf442b0fbfccb3aea988c81cbe040a526c1644 /mm/page_isolation.c | |
parent | media: v4l2-ctrls: use ref in helper instead of ctrl (diff) | |
download | kernel-qcow2-linux-6fa6f831f0950bf46934e6c3a9766b258a9ea85f.tar.gz kernel-qcow2-linux-6fa6f831f0950bf46934e6c3a9766b258a9ea85f.tar.xz kernel-qcow2-linux-6fa6f831f0950bf46934e6c3a9766b258a9ea85f.zip |
media: v4l2-ctrls: add core request support
Integrate the request support. This adds the v4l2_ctrl_request_complete
and v4l2_ctrl_request_setup functions to complete a request and (as a
helper function) to apply a request to the hardware.
It takes care of queuing requests and correctly chaining control values
in the request queue.
Note that when a request is marked completed it will copy control values
to the internal request state. This can be optimized in the future since
this is sub-optimal when dealing with large compound and/or array controls.
For the initial 'stateless codec' use-case the current implementation is
sufficient.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'mm/page_isolation.c')
0 files changed, 0 insertions, 0 deletions