Re: [PATCH v2 7/8] venus: venc: Handle reset encoder state

2021-01-07 Thread Stanimir Varbanov
Hi Fritz, On 1/2/21 2:13 AM, Fritz Koenig wrote: > How should we resolve this patch in relation to the "venus: venc: Init > the session only once in queue_setup" [1] patch? I plan to make a pull request including 4/8 and 5/8 patches from this series which are infact fixes. After that I will send

Re: [PATCH v2 7/8] venus: venc: Handle reset encoder state

2021-01-01 Thread Fritz Koenig
How should we resolve this patch in relation to the "venus: venc: Init the session only once in queue_setup" [1] patch? "venus: venc: Init the session only once in queue_setup" comes after and reworks |venc_start_streaming| substantially. This patch implements |venc_stop_streaming|, but maybe tha

[PATCH v2 7/8] venus: venc: Handle reset encoder state

2020-11-11 Thread Stanimir Varbanov
Redesign the encoder driver to be compliant with stateful encoder spec - specifically adds handling of Reset state. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/venc.c | 155 ++- 1 file changed, 122 insertions(+), 33 deletions(-) diff --git a/driver