gpu: host1x: Add stream ID register data for NVDEC on Tegra234
authorMikko Perttunen <mperttunen@nvidia.com>
Tue, 20 Sep 2022 08:12:00 +0000 (11:12 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 25 Nov 2022 15:14:58 +0000 (16:14 +0100)
Add entries for NVDEC to the Tegra234 SID table.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/dev.c

index f60ea24..f31039a 100644 (file)
@@ -225,6 +225,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,
+       },
 };
 
 static const struct host1x_info host1x08_info = {