]> asedeno.scripts.mit.edu Git - linux.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)
commit6841482b82e5ba8a403559cbc0c15706624db17a
tree3da09b9ab5ec41555ddb7775524e5f0d457bc30e
parentf67524caf49949b8d1a219f1fd8ea263854a6683
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