diff options
author | 2014-09-03 19:25:54 +0000 | |
---|---|---|
committer | 2015-03-24 13:33:25 +0200 | |
commit | f36eb5a899d3ea57e3d167427260848e116e27a0 (patch) | |
tree | f92b2050b1fc2b8341dec645071e34efa5faea1e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm/omap: clear omap_obj->paddr in omap_gem_put_paddr() (diff) | |
download | wireguard-linux-f36eb5a899d3ea57e3d167427260848e116e27a0.tar.xz wireguard-linux-f36eb5a899d3ea57e3d167427260848e116e27a0.zip |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions