]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: host1x: Set up stream ID table
authorThierry Reding <treding@nvidia.com>
Fri, 1 Feb 2019 13:28:22 +0000 (14:28 +0100)
committerThierry Reding <treding@nvidia.com>
Mon, 4 Feb 2019 07:35:55 +0000 (08:35 +0100)
commit23474389ef857a2084c07930f4038181602134b5
tree3da09b9ab5ec41555ddb7775524e5f0d457bc30e
parenteb971204703bb01577a80c896f3a710bfcfb7148
gpu: host1x: Set up stream ID table

In order to enable the MMIO path stream ID protection provided by the
incarnation of host1x found in Tegra186 and later, the host1x must be
provided with the list of stream ID register offsets for each of its
clients. Some clients (such as VIC) have multiple stream ID registers
that are assumed to be contiguous. The host1x is programmed with the
base offset and a limit which provide the range of registers that the
host1x needs to monitor for writes.

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