From 9cfe33dc6879a615e0cdf0d7ac865bea3449fb4c Mon Sep 17 00:00:00 2001 From: Mikko Perttunen Date: Thu, 19 May 2022 16:37:55 +0300 Subject: [PATCH] gpu: host1x: Add stream ID register data for NVDEC on Tegra234 Add entries for NVDEC to the Tegra234 SID table. Bug 3778105 Signed-off-by: Mikko Perttunen Change-Id: Iff6c33795b74faf5e0aea72751ad6c4b43cf6bb2 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2771764 (cherry picked from commit 3e501a18ff2392292d19bc513db6f19d31f38227) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2768895 Reviewed-by: Jonathan Hunter GVS: Gerrit_Virtual_Submit Tested-by: Jonathan Hunter --- drivers/gpu/host1x/dev.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/host1x/dev.c b/drivers/gpu/host1x/dev.c index 8bef2289..613f4d0e 100644 --- a/drivers/gpu/host1x/dev.c +++ b/drivers/gpu/host1x/dev.c @@ -268,6 +268,18 @@ static const struct host1x_sid_entry tegra234_sid_table[] = { .offset = 0x34, .limit = 0x34 }, + { + /* NVDEC channel */ + .base = 0x17c8, + .offset = 0x30, + .limit = 0x30, + }, + { + /* NVDEC MMIO */ + .base = 0x1698, + .offset = 0x34, + .limit = 0x34, + }, { /* NVDLA channel */ .base = 0x17e0,