Re: [PATCH v2 0/5] Venus fatal error handling

From: vgarodia
Date: Wed Oct 06 2021 - 01:01:04 EST


On 2021-06-08 17:11, Stanimir Varbanov wrote:
Changes since v1:
* replace pm_runtime_get_sync with pm_runtime_resume_and_get in 1/5.

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 | 116 ++++++++++++++++++--
7 files changed, 201 insertions(+), 17 deletions(-)

Tested-by: Vikash Garodia <vgarodia@xxxxxxxxxxxxxx>