On 17/05/2022 14:55, Smitha T Murthy wrote: > On receiving last buffer driver puts MFC to > MFCINST_FINISHING state which in turn skips > transferring of frame from SRC to REF queue. > This causes driver to stop MFC encoding and > last frame is lost. What type of wrapping is it exactly? https://elixir.bootlin.com/linux/v5.18-rc4/source/Documentation/process/submitting-patches.rst#L586 > > This patch guarantees safe handling of frames > during MFCINST_FINISHING and correct clearing > of workbit to avoid early stopping of encoding. > This looks like a bugfix so: 1. Send it separately please. 2. Add Fixes tag. 3. Add Cc stable tag. Best regards, Krzysztof