Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/omapdrm
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
..
2013-08-19 10:36:16 +10:00
2013-02-16 17:38:06 -05:00
2013-02-16 17:38:06 -05:00
2015-03-24 13:33:24 +02:00
2013-02-16 17:38:06 -05:00
2013-02-16 17:38:06 -05:00
2013-02-16 17:38:06 -05:00
2013-02-16 17:38:06 -05:00