summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_fbc.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2018-02-21 19:02:34 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2018-02-22 19:11:13 +0300
commitef1a19146827b11d0c8024f9401774703bcb3a48 (patch)
tree16090bfeeca00bce13027b806449a6c3bfe9a0a1 /drivers/gpu/drm/i915/intel_fbc.c
parent32febd91951eb40d9e9437f10b967c87715d8ef5 (diff)
downloadlinux-ef1a19146827b11d0c8024f9401774703bcb3a48.tar.xz
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/gpu/drm/i915/intel_fbc.c')
0 files changed, 0 insertions, 0 deletions