diff options
author | Stanimir Varbanov <stanimir.varbanov@linaro.org> | 2021-04-23 10:41:25 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-10-21 14:23:15 +0100 |
commit | 3227a8f7cf331ed5be4b6c26339366b8d2d83b09 (patch) | |
tree | a6f6d36141b69c347723ab5f6fbb1dd439eb80b8 /include/linux/trace_recursion.h | |
parent | aa6dcf171ab71910960f53ffcae3c8fa48928a85 (diff) |
media: venus: Handle fatal errors during encoding and decoding
According to stateful decoder docs a fatal failure of decoding
(and encoding) could be recover it by closing the corresponding
file handle and open new one or reinitialize decoding (and encoding)
by stop streaming on both queues. In order to satisfy this
requirement we add a mechanism ins sys_error_handler and
corresponding decoder and encoder drivers to wait for sys_error_done
waitqueue in reqbuf.
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Tested-by: Vikash Garodia <vgarodia@codeaurora.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/linux/trace_recursion.h')
0 files changed, 0 insertions, 0 deletions