[PATCH 0/3] Venus dynamic resolution change fixes

From: Stanimir Varbanov
Date: Mon Sep 28 2020 - 12:44:57 EST


Hi all,

Those three patches are needed to fix setting of LAST buffer flag during
dynamic-resolution-change state.

The first patch in this series fix the LAST buffer flag setting, the second
unify the driver behavior no matter the event from firmware is sufficient or
insufficient resources and the third one is moving the locking from buf_queue
helper function to encoder and decoder buf_queue vb2 ops.

Comments are welcome!

Stanimir Varbanov (3):
venus: vdec: Fix non reliable setting of LAST flag
venus: vdec: Make decoder return LAST flag for sufficient event
venus: helpers: Lock outside of buffer queue helper

drivers/media/platform/qcom/venus/core.h | 5 +-
drivers/media/platform/qcom/venus/helpers.c | 15 ++--
drivers/media/platform/qcom/venus/vdec.c | 92 +++++++++++++--------
drivers/media/platform/qcom/venus/venc.c | 11 ++-
4 files changed, 76 insertions(+), 47 deletions(-)

--
2.17.1