diff options
author | Thierry Reding <treding@nvidia.com> | 2021-11-15 01:47:31 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-11-30 14:11:39 +0300 |
commit | 439c827e06f169b50fce271fe5ddb46bf9f88c5e (patch) | |
tree | acd8bbd5a0b5df4a4f4030ba85253b794a1cac50 /drivers/staging/media | |
parent | aee3c1436383da18f5b0306abc7d2d70bbf0612c (diff) | |
download | linux-439c827e06f169b50fce271fe5ddb46bf9f88c5e.tar.xz |
media: staging: tegra-vde: Properly mark invalid entries
Entries in the reference picture list are marked as invalid by setting
the frame ID to 0x3f.
Signed-off-by: Thierry Reding <treding@nvidia.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>
Diffstat (limited to 'drivers/staging/media')
-rw-r--r-- | drivers/staging/media/tegra-vde/vde.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/tegra-vde/vde.c b/drivers/staging/media/tegra-vde/vde.c index 9c0699867082..73a42336f37a 100644 --- a/drivers/staging/media/tegra-vde/vde.c +++ b/drivers/staging/media/tegra-vde/vde.c @@ -339,7 +339,7 @@ static void tegra_vde_setup_iram_tables(struct tegra_vde *vde, value |= frame->frame_num; } else { aux_addr = 0x6ADEAD00; - value = 0; + value = 0x3f; } tegra_vde_setup_iram_entry(vde, 0, i, value, aux_addr); |