diff options
| author | Philipp Zabel <[email protected]> | 2022-04-04 17:35:28 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2022-04-24 08:43:22 +0100 |
| commit | e7326bec7b07d4608894ba726d7a8f5e88565862 (patch) | |
| tree | 846ca03ffa9220a469f0634b027e3829b3b836c4 /tools/perf/scripts/python | |
| parent | fc503c8a3f12af7093da60f790e6830f8ca5b23d (diff) | |
media: coda: disable encoder cmd ioctl on decoder and vice versa
Use v4l2_disable_ioctl() to disable the VIDIOC_TRY_ENCODER_CMD and
VIDIOC_ENCODER_CMD ioctls on decoder video devices and the
VIDIOC_TRY_DECODER_CMD and VIDIOC_DECODER_CMD ioctls on encoder
video devices.
This allows to drop the coda_try_encoder/decoder_cmd() functions
and to use v4l2_m2m_ioctl_try_encoder/decoder_cmd() directly.
Signed-off-by: Philipp Zabel <[email protected]>
Reviewed-by: Nicolas Dufresne <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions