diff mbox series

[v1,2/3] media: staging: tegra-vde: Properly mark invalid entries

Message ID 20211114222353.22435-3-digetx@gmail.com (mailing list archive)
State Not Applicable, archived
Headers show
Series Add NVIDIA Tegra114 support to video decoder driver | expand

Commit Message

Dmitry Osipenko Nov. 14, 2021, 10:23 p.m. UTC
From: Thierry Reding <treding@nvidia.com>

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>
---
 drivers/staging/media/tegra-vde/vde.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/staging/media/tegra-vde/vde.c b/drivers/staging/media/tegra-vde/vde.c
index 42da57f191ef..ba7ef280423b 100644
--- a/drivers/staging/media/tegra-vde/vde.c
+++ b/drivers/staging/media/tegra-vde/vde.c
@@ -336,7 +336,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);