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>
This commit is contained in:
Thierry Reding 2021-11-14 23:47:31 +01:00 committed by Mauro Carvalho Chehab
parent aee3c14363
commit 439c827e06
1 changed files with 1 additions and 1 deletions

View File

@ -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);