[PATCH 0/5] Venus fatal error handling
From: Stanimir Varbanov
Date: Tue May 18 2021 - 11:46:44 EST
According to the stateful decoder spec fatal errors could be
recovered either by close and open it again the file descriptor
or by stop the streaming and starting it again. This patch series
is attempting to solve the second fatal recovery case.
regards,
Stan
Stanimir Varbanov (5):
venus: venc: Use pmruntime autosuspend
venus: Make sys_error flag an atomic bitops
venus: hfi: Check for sys error on session hfi functions
venus: helpers: Add helper to mark fatal vb2 error
venus: Handle fatal errors during encoding and decoding
drivers/media/platform/qcom/venus/core.c | 13 ++-
drivers/media/platform/qcom/venus/core.h | 6 +-
drivers/media/platform/qcom/venus/helpers.c | 16 ++-
drivers/media/platform/qcom/venus/helpers.h | 1 +
drivers/media/platform/qcom/venus/hfi.c | 48 +++++++-
drivers/media/platform/qcom/venus/vdec.c | 18 ++-
drivers/media/platform/qcom/venus/venc.c | 117 ++++++++++++++++++--
7 files changed, 202 insertions(+), 17 deletions(-)
--
2.25.1