media: venus: vdec: Make decoder return LAST flag for sufficient event
stable inclusion from stable-v5.10.180 commit 4c1239274f41989d3f2b454f87847a351e3f6ba2 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=4c1239274f41989d3f2b454f87847a351e3f6ba2 -------------------------------- [ Upstream commit a4ca67af ] This makes the decoder to behaives equally for sufficient and insufficient events. After this change the LAST buffer flag will be set when the new resolution (in dynamic-resolution-change state) is smaller then the old bitstream resolution. 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