linux_dsm_epyc7002/drivers/gpu/drm/tegra
Thierry Reding f002abc19a drm/tegra: Properly cleanup and zero out resources
When the DRM driver is unloaded, all the associated resources must be
cleaned up and zeroed out. This is necessary because of the architecture
of the Tegra DRM driver, where not all subdrivers are unloaded along
with the DRM driver. Therefore device-managed managed won't be freed and
memory cannot be assumed to have been cleared (because it hasn't been
reallocated using kzalloc()) by the time the DRM driver is reloaded. It
is therefore necessary to zero out the structures to prevent strange
errors (such as slab corruptions) from occurring.

Signed-off-by: Thierry Reding <treding@nvidia.com>
2013-10-31 09:55:40 +01:00
..
bus.c drm/tegra: Move driver to DRM tree 2013-10-31 09:55:40 +01:00
dc.c drm/tegra: Properly cleanup and zero out resources 2013-10-31 09:55:40 +01:00
dc.h drm/tegra: Move driver to DRM tree 2013-10-31 09:55:40 +01:00
drm.c drm/tegra: Properly cleanup and zero out resources 2013-10-31 09:55:40 +01:00
drm.h drm/tegra: Move driver to DRM tree 2013-10-31 09:55:40 +01:00
fb.c drm/tegra: Move driver to DRM tree 2013-10-31 09:55:40 +01:00
gem.c drm/tegra: Move driver to DRM tree 2013-10-31 09:55:40 +01:00
gem.h drm/tegra: Move driver to DRM tree 2013-10-31 09:55:40 +01:00
gr2d.c drm/tegra: Move driver to DRM tree 2013-10-31 09:55:40 +01:00
hdmi.c drm/tegra: Move driver to DRM tree 2013-10-31 09:55:40 +01:00
hdmi.h drm/tegra: Move driver to DRM tree 2013-10-31 09:55:40 +01:00
Kconfig drm/tegra: Move driver to DRM tree 2013-10-31 09:55:40 +01:00
Makefile drm/tegra: Move driver to DRM tree 2013-10-31 09:55:40 +01:00
output.c drm/tegra: Properly cleanup and zero out resources 2013-10-31 09:55:40 +01:00
rgb.c drm/tegra: Move driver to DRM tree 2013-10-31 09:55:40 +01:00