diff options
author | Mikko Perttunen <mperttunen@nvidia.com> | 2021-06-10 14:04:55 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2021-08-10 18:04:05 +0300 |
commit | 8cc95f3fd35e1de3495d9e2acb051162c739cd25 (patch) | |
tree | eeabb697cdf949b5460fdefaf851dea5e9a0d338 /drivers/gpu/drm/tegra/Makefile | |
parent | 13abe0bb15ceac2fb8e8853bd30c278426d95ad0 (diff) | |
download | linux-8cc95f3fd35e1de3495d9e2acb051162c739cd25.tar.xz |
drm/tegra: Add job firewall
Add a firewall that validates jobs before submission to ensure
they don't do anything they aren't allowed to do, like accessing
memory they should not access.
The firewall is functionality-wise a copy of the firewall already
implemented in gpu/host1x. It is copied here as it makes more
sense for it to live on the DRM side, as it is only needed for
userspace job submissions, and generally the data it needs to
do its job is easier to access here.
In the future, the other implementation will be removed.
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/Makefile')
-rw-r--r-- | drivers/gpu/drm/tegra/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/Makefile b/drivers/gpu/drm/tegra/Makefile index cba655e434b0..d801909182cf 100644 --- a/drivers/gpu/drm/tegra/Makefile +++ b/drivers/gpu/drm/tegra/Makefile @@ -5,6 +5,7 @@ tegra-drm-y := \ drm.o \ uapi.o \ submit.o \ + firewall.o \ gem.o \ fb.o \ dp.o \ |