drm: Document use-after-free gotcha with private objects
authorMaxime Ripard <maxime@cerno.tech>
Fri, 4 Dec 2020 15:11:33 +0000 (16:11 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 15 Dec 2020 10:33:23 +0000 (11:33 +0100)
commit27125e86b797deea4c42dc35fb0a71fd1d5ae53a
tree45a0b6574a6b579882e18fbd9e1cbb161ecc63df
parentddadd40892f31a6653cf104e274f7d2ae764eabb
drm: Document use-after-free gotcha with private objects

The private objects have a gotcha that could result in a use-after-free,
make sure it's properly documented.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20201204151138.1739736-3-maxime@cerno.tech
include/drm/drm_atomic.h