Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm
Tomi Valkeinen f36eb5a899 drm/omap: add pin refcounting to omap_framebuffer
omap_framebuffer_pin() and omap_framebuffer_unpin() are currently
broken, as they cannot be called multiple times (i.e. pin, pin, unpin,
unpin), which is what happens in certain cases. This issue causes the
driver to possibly use 0 as an address for a displayed buffer, leading
to OCP error from DSS.

This patch fixes the issue by adding a simple pin_count, used to track
the number of pins.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2015-03-24 13:33:25 +02:00
..
2015-03-10 09:59:34 +01:00
2015-03-09 19:58:30 +10:00
2015-02-05 16:21:19 +01:00
2015-03-09 19:58:30 +10:00
2015-03-13 17:37:35 +01:00
2014-12-16 08:56:55 +01:00
2015-03-13 17:37:35 +01:00
2014-12-16 18:44:34 +01:00
2015-03-13 17:37:35 +01:00
2015-03-10 09:59:34 +01:00
2015-03-13 17:37:35 +01:00
2015-03-13 17:37:35 +01:00