drm/prime: Clarify DMA-BUF/GEM Object lifetime
authorOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Fri, 27 Jan 2017 07:04:25 +0000 (09:04 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 27 Jan 2017 14:00:26 +0000 (15:00 +0100)
commitfa4c1de4a1aeeb0ef4dca692c779abbcc6c4960f
tree21c239cacb6f16cfbc0c56de44c06278eb228b2f
parent239ac65fa5ffab71adf66e642750f940e7241d99
drm/prime: Clarify DMA-BUF/GEM Object lifetime

From the description of the "DMA-BUF/GEM Object references
and lifetime overview" it is not clear when exactly
dma_buf gets destroyed and memory freed: only driver
.release function mentioned which makes confusion on the
real buffer's lifetime.

Add more description so all the paths are covered.

Cc: Rob Clark <robdclark@gmail.com>
Cc: Dave Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
[danvet: Minor spelling fixes, and some clarification of the 2nd
paragraph.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1485500665-27690-1-git-send-email-andr2000@gmail.com
drivers/gpu/drm/drm_prime.c