diff options
author | Thierry Reding <treding@nvidia.com> | 2014-12-10 11:38:49 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-12-10 12:05:56 +0100 |
commit | a18c0af171bfb875012da26f23df051004726973 (patch) | |
tree | 44d20565fb6df932d615325a01fa44e034be2edb /Documentation/DocBook | |
parent | 393e872e1daa4958f862fdbd321bb9ba7f7acb0d (diff) | |
download | linux-a18c0af171bfb875012da26f23df051004726973.tar.bz2 |
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>
Diffstat (limited to 'Documentation/DocBook')
0 files changed, 0 insertions, 0 deletions