summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x
diff options
context:
space:
mode:
authorMikko Perttunen <mperttunen@nvidia.com>2022-09-20 11:12:00 +0300
committerThierry Reding <treding@nvidia.com>2022-11-25 16:14:58 +0100
commit97b93b7a4adcf3f9b07a323571685e612388b7d8 (patch)
treef3da2652fc504a3c555a89549ab5aa9a89f28431 /drivers/gpu/host1x
parent7946920d402d9a4b5bf53c3adc3783105dbf3966 (diff)
downloadlinux-97b93b7a4adcf3f9b07a323571685e612388b7d8.tar.gz
linux-97b93b7a4adcf3f9b07a323571685e612388b7d8.tar.bz2
linux-97b93b7a4adcf3f9b07a323571685e612388b7d8.zip
gpu: host1x: Add stream ID register data for NVDEC on Tegra234
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>
Diffstat (limited to 'drivers/gpu/host1x')
-rw-r--r--drivers/gpu/host1x/dev.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/host1x/dev.c b/drivers/gpu/host1x/dev.c
index f60ea24db0ec..f31039aca03c 100644
--- a/drivers/gpu/host1x/dev.c
+++ b/drivers/gpu/host1x/dev.c
@@ -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 = {