mirror_ubuntu-kernels/drivers/gpu/drm/tegra
Mikko Perttunen 8cc95f3fd3 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>
2021-08-10 17:04:05 +02:00
..
dc.c drm/tegra: Changes for v5.14-rc1 2021-06-23 14:24:37 +10:00
dc.h drm/tegra: hub: Implement basic scaling support 2021-05-31 14:30:11 +02:00
dp.c
dp.h
dpaux.c drm/tegra: Changes for v5.14-rc1 2021-06-23 14:24:37 +10:00
dpaux.h
drm.c drm/tegra: Implement job submission part of new UAPI 2021-08-10 17:04:05 +02:00
drm.h drm/tegra: Implement new UAPI 2021-08-10 17:04:05 +02:00
dsi.c drm/tegra: Fix reference leak when pm_runtime_get_sync() fails 2021-01-15 17:24:51 +01:00
dsi.h
falcon.c drm/tegra: falcon: Support newer VIC firmware 2021-01-15 17:15:50 +01:00
falcon.h
fb.c drm/tegra: Support sector layout on Tegra194 2021-03-31 17:42:14 +02:00
firewall.c drm/tegra: Add job firewall 2021-08-10 17:04:05 +02:00
gem.c drm/tegra: Extract tegra_gem_lookup() 2021-08-10 14:44:31 +02:00
gem.h drm/tegra: Extract tegra_gem_lookup() 2021-08-10 14:44:31 +02:00
gr2d.c gpu: host1x: Cleanup and refcounting for syncpoints 2021-03-31 17:42:13 +02:00
gr2d.h drm/tegra: gr2d: Add tiled PATBASE address register 2020-07-17 16:06:16 +02:00
gr3d.c gpu: host1x: Cleanup and refcounting for syncpoints 2021-03-31 17:42:13 +02:00
gr3d.h
hda.c
hda.h
hdmi.c drm/tegra: Fix reference leak when pm_runtime_get_sync() fails 2021-01-15 17:24:51 +01:00
hdmi.h
hub.c drm/tegra: hub: Implement basic scaling support 2021-05-31 14:30:11 +02:00
hub.h
Kconfig
Makefile drm/tegra: Add job firewall 2021-08-10 17:04:05 +02:00
mipi-phy.c
mipi-phy.h
output.c drm/tegra: sor: Fix AUX device reference leak 2021-05-27 20:11:13 +02:00
plane.c drm/tegra: hub: Fix YUV support 2021-05-31 14:30:11 +02:00
plane.h drm/tegra: hub: Fix YUV support 2021-05-31 14:30:11 +02:00
rgb.c drm/tegra: output: rgb: Wrap directly-connected panel into DRM bridge 2020-09-17 12:31:18 +02:00
sor.c drm/tegra: sor: Fix AUX device reference leak 2021-05-27 20:11:13 +02:00
sor.h
submit.c drm/tegra: Add job firewall 2021-08-10 17:04:05 +02:00
submit.h drm/tegra: Add job firewall 2021-08-10 17:04:05 +02:00
trace.c
trace.h
uapi.c drm/tegra: Implement syncpoint wait UAPI 2021-08-10 17:04:05 +02:00
uapi.h drm/tegra: Implement syncpoint wait UAPI 2021-08-10 17:04:05 +02:00
vic.c drm/tegra: Boot VIC during runtime PM resume 2021-08-10 14:48:30 +02:00
vic.h drm/tegra: Don't call SET_APPLICATION_ID in VIC boot 2021-06-11 18:48:36 +02:00