diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-02-21 18:02:34 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-02-22 18:11:13 +0200 |
commit | ef1a19146827b11d0c8024f9401774703bcb3a48 (patch) | |
tree | 16090bfeeca00bce13027b806449a6c3bfe9a0a1 /drivers/s390/block | |
parent | 32febd91951eb40d9e9437f10b967c87715d8ef5 (diff) |
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 'drivers/s390/block')
0 files changed, 0 insertions, 0 deletions