Commit 05bef2c2 authored by Stanimir Varbanov's avatar Stanimir Varbanov Committed by sanglipeng
Browse files

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: default avatarStanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Stable-dep-of: 50248ad9 ("media: venus: dec: Fix handling of the start cmd")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 6ea4e8c2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment