media: cedrus: add action item to the TODO

Mention that the request validation should increment the memory refcount
of reference buffers so we don't forget to do this.

Acked-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
Hans Verkuil 2018-11-15 02:49:24 -05:00 committed by Mauro Carvalho Chehab
parent f44e361e37
commit 0408b205f1

View File

@ -5,3 +5,8 @@ Before this stateless decoder driver can leave the staging area:
* Userspace support for the Request API needs to be reviewed;
* Another stateless decoder driver should be submitted;
* At least one stateless encoder driver should be submitted.
* When queueing a request containing references to I frames, the
refcount of the memory for those I frames needs to be incremented
and decremented when the request is completed. This will likely
require some help from vb2. The driver should fail the request
if the memory/buffer is gone.