drm/omap: add a comment why locking is missing
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 3 Sep 2014 19:25:57 +0000 (19:25 +0000)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 24 Mar 2015 11:33:25 +0000 (13:33 +0200)
commitf7c5f5d9e25dc524f1cdc6cf821400ac29dae486
tree6b9f6b01511f65f80c51f80db07648cb58301283
parentf36eb5a899d3ea57e3d167427260848e116e27a0
drm/omap: add a comment why locking is missing

unpin_worker() calls omap_framebuffer_unpin() without any locks, which
looks very suspicious. However, both pin and unpin are always called via
the driver's private workqueue, so the access is synchronized that way.

Add a comment to make this clear.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_plane.c