diff options
author | 2018-02-21 18:02:34 +0200 | |
---|---|---|
committer | 2018-02-22 18:11:13 +0200 | |
commit | ef1a19146827b11d0c8024f9401774703bcb3a48 (patch) | |
tree | 16090bfeeca00bce13027b806449a6c3bfe9a0a1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Require fence only for FBC capable planes (diff) | |
download | linux-dev-ef1a19146827b11d0c8024f9401774703bcb3a48.tar.xz linux-dev-ef1a19146827b11d0c8024f9401774703bcb3a48.zip |
drm/i915: Extract intel_plane_{pin,unpin}_fb()
We've replicated the fb pin/unpin code in a few places. Pull it into
convenint helpers.
Slight change in locking behaviour as intel_cleanup_plane_fb() now
grab struct_mutex unconditionally.
v2: Change the locking to be symmetric between pin and unpin
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180221160235.11134-6-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions