diff options
author | 2013-12-13 10:41:07 -0500 | |
---|---|---|
committer | 2014-02-05 11:23:07 -0500 | |
commit | b69720c0f5d417310fbfd59c2d681bd90430a4f5 (patch) | |
tree | 875255037afdf030ca23d4195a6d2ff456953209 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/msm/mdp5: fix ref leaks in error paths (diff) | |
download | linux-dev-b69720c0f5d417310fbfd59c2d681bd90430a4f5.tar.xz linux-dev-b69720c0f5d417310fbfd59c2d681bd90430a4f5.zip |
drm/msm/mdp4: pageflip fixes
Backport a few fixes found in the course of getting mdp5 working.
There is a window of time after pageflip is requested, before we
start scanning out the new fb (ie. while we are waiting for gpu).
During that time we need to continue holding a reference to the
still-current scanout fb, to avoid the backing gem bo's from being
destroyed.
Possibly a common mdp_crtc parent class could be useful to share
some of this logic between mdp4_crtc and mdp5_crtc. OTOH, this
all can be removed from the driver once atomic is in place, as
plane/crtc updates get deferred until all fb's are ready before
calling in to .page_flip(), etc.
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions