mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
media: verisilicon: Support removing buffers on capture queue
Allow to remove buffers on capture queue because it the one which own the decoded buffers. After a dynamic resolution change lot of them could remain allocated but won't be used anymore so deleting them save memory. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com> Reviewed-by: Mauro Carvalho Chehab <mchehab@kernel.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
parent
2f2419502f
commit
fe19aab844
|
|
@ -756,6 +756,7 @@ const struct v4l2_ioctl_ops hantro_ioctl_ops = {
|
|||
.vidioc_dqbuf = v4l2_m2m_ioctl_dqbuf,
|
||||
.vidioc_prepare_buf = v4l2_m2m_ioctl_prepare_buf,
|
||||
.vidioc_create_bufs = v4l2_m2m_ioctl_create_bufs,
|
||||
.vidioc_remove_bufs = v4l2_m2m_ioctl_remove_bufs,
|
||||
.vidioc_expbuf = v4l2_m2m_ioctl_expbuf,
|
||||
|
||||
.vidioc_subscribe_event = v4l2_ctrl_subscribe_event,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user