media: staging: tegra-vde: Support reference picture marking
authorThierry Reding <treding@nvidia.com>
Sun, 14 Nov 2021 22:47:30 +0000 (23:47 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 30 Nov 2021 11:09:00 +0000 (12:09 +0100)
commitaee3c1436383da18f5b0306abc7d2d70bbf0612c
treef71285edd870aaf8d181c58d6da141d394bbe721
parent41479adb5e52998ecf690b46164fffea3f5d65fd
media: staging: tegra-vde: Support reference picture marking

Tegra114 and Tegra124 support reference picture marking, which will
cause BSEV to write picture marking data to SDRAM. Make sure there is
a valid destination address for that data to avoid error messages from
the memory controller.

[digetx@gmail.com: added BO support and moved secure BO allocation to kernel]
Tested-by: Anton Bambura <jenneron@protonmail.com> # T114 ASUS TF701T
Signed-off-by: Thierry Reding <treding@nvidia.com>
Co-developed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/tegra-vde/vde.c
drivers/staging/media/tegra-vde/vde.h