diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-09-03 19:25:54 +0000 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-03-24 13:33:25 +0200 |
commit | f36eb5a899d3ea57e3d167427260848e116e27a0 (patch) | |
tree | f92b2050b1fc2b8341dec645071e34efa5faea1e /drivers/gpu/drm/omapdrm/omap_plane.c | |
parent | 3f4d17c4eca9769d56218a38dbfc482794fbde2f (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_plane.c')
0 files changed, 0 insertions, 0 deletions