commit | 17aed9041d5ba3c674be1b7e830162e489438d36 | [log] [tgz] |
---|---|---|
author | Dmitry Osipenko <digetx@gmail.com> | Sat Mar 17 11:28:11 2018 -0400 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Fri May 04 06:31:22 2018 -0400 |
tree | 10eb614fbf378ff8c784956c87fde5d14cdb24ad | |
parent | a2b2eff6ac2716f499defa590a6ec4ba379d765e [diff] |
media: staging: tegra-vde: Align bitstream size to 16K I've noticed that decoding fails sometime if size of bitstream buffer isn't aligned to 16K, probably because HW fetches data from memory in a 16K granularity and if the last chunk of data isn't aligned, HW reads garbage data beyond the dmabuf and tries to parse it. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Hans Verkuil <hansverk@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>