Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm
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-04 09:23:51 +10:00
2015-05-26 16:17:06 +10:00
2015-06-11 13:16:35 +10:00
2015-05-26 15:50:42 +02:00
2015-05-26 15:50:42 +02:00
2015-05-05 09:46:38 +02:00
2015-03-13 17:37:35 +01:00
2015-03-13 17:37:35 +01:00
2015-05-29 09:17:57 +10:00
2015-03-13 17:37:35 +01:00
2015-03-13 17:37:35 +01:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00