commit | a18c0af171bfb875012da26f23df051004726973 | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Wed Dec 10 11:38:49 2014 +0100 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Dec 10 12:05:56 2014 +0100 |
tree | 44d20565fb6df932d615325a01fa44e034be2edb | |
parent | 393e872e1daa4958f862fdbd321bb9ba7f7acb0d [diff] |
drm: Zero out DRM object memory upon cleanup Drivers where the DRM objects have a lifetime that extends beyond that of the DRM device need to zero out the DRM object memory to void stale data such as properties. The DRM core code expects to operate on newly allocated and zeroed out objects and will behave unexpectedly, such as add duplicate properties, otherwise. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>