diff options
author | Rob Clark <robdclark@chromium.org> | 2022-03-04 23:21:45 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2022-03-07 06:28:47 +0300 |
commit | 9225b337072a10bf9b09df8bf281437488dd8a26 (patch) | |
tree | 831488dfa5cafa9e8c5976e9e49d489591d4819d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | cca96584b35765bf9eb5f38ca55a144ea2ba0de4 (diff) | |
download | linux-9225b337072a10bf9b09df8bf281437488dd8a26.tar.xz |
drm/msm: Fix dirtyfb refcounting
refcount_t complains about 0->1 transitions, which isn't *quite* what we
wanted. So use dirtyfb==1 to mean that the fb is not connected to any
output that requires dirtyfb flushing, so that we can keep the underflow
and overflow checking.
Fixes: 9e4dde28e9cd ("drm/msm: Avoid dirtyfb stalls on video mode displays (v2)")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Link: https://lore.kernel.org/r/20220304202146.845566-1-robdclark@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions