media: venus: vdec: Fix non reliable setting of LAST flag
stable inclusion from stable-v5.10.180 commit a30297bff881dd13bd74cfa4c93034e47396011e 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=a30297bff881dd13bd74cfa4c93034e47396011e -------------------------------- [ Upstream commit acf8a57d ] In real use of dynamic-resolution-change it is observed that the LAST buffer flag (which marks the last decoded buffer with the resolution before the resolution-change event) is not reliably set. Fix this by set the LAST buffer flag on next queued capture buffer after the resolution-change event. 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