1
0
Files
linux/drivers
Tomi Valkeinen f524ab7c07 drm: omapdrm: add lock for fb pinning
Before atomic modesetting omap_framebuffer_pin() and
omap_framebuffer_unpin() were always called with modesetting locks
taken. With atomic modesetting support this is no longer the case, and
we need locking to protect the pin_count and the paddr, as multiple
threads may pin the same fb concurrently.

This patch adds a mutex to struct omap_framebuffer, and uses it in
omap_framebuffer_pin() and omap_framebuffer_unpin().

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2015-06-12 22:52:51 +03:00
..
2015-06-12 22:52:51 +03:00
2015-06-02 10:17:21 +02:00
2015-06-02 10:17:21 +02:00
2015-04-07 12:05:12 +02:00
2015-03-31 12:01:19 -04:00
2015-03-25 12:25:29 +01:00