[Intel-gfx] [PATCH 5/6] drm/i915: Extract intel_plane_{pin, unpin}_fb()
Chris Wilson
chris at chris-wilson.co.uk
Wed Feb 21 22:02:47 UTC 2018
Quoting Ville Syrjala (2018-02-21 16:02:34)
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> 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 at chris-wilson.co.uk>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris
More information about the Intel-gfx
mailing list