diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-09-03 23:25:54 +0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-03-24 14:33:25 +0300 |
commit | f36eb5a899d3ea57e3d167427260848e116e27a0 (patch) | |
tree | f92b2050b1fc2b8341dec645071e34efa5faea1e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3f4d17c4eca9769d56218a38dbfc482794fbde2f (diff) | |
download | linux-f36eb5a899d3ea57e3d167427260848e116e27a0.tar.xz |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions