media: venus: vdec: Handle DRC after drain
stable inclusion from stable-v5.10.180 commit 3a227dc12b1af9cdca12da9ce486606138ee33b0 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8DDFN Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3a227dc12b1af9cdca12da9ce486606138ee33b0 -------------------------------- [ Upstream commit c8e8dabc ] If the DRC is near the end of the stream the client may send a V4L2_DEC_CMD_STOP before the DRC occurs. V4L2_DEC_CMD_STOP puts the driver into the VENUS_DEC_STATE_DRAIN state. DRC must be aware so that after the DRC event the state can be restored correctly. Signed-off-by:Fritz Koenig <frkoenig@chromium.org> Signed-off-by:
Stanimir Varbanov <stanimir.varbanov@linaro.org> Signed-off-by:
Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Stable-dep-of: 50248ad9 ("media: venus: dec: Fix handling of the start cmd") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment