[Intel-gfx] [PATCH 5/6] drm/i915: Add intel_crtc_wait_for_pending_flips_locked()

Damien Lespiau damien.lespiau at intel.com
Wed Feb 13 11:37:37 CET 2013


On Tue, Jan 29, 2013 at 06:13:37PM +0200, ville.syrjala at linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> Move the functionality of intel_crtc_wait_for_pending_flips()
> into intel_crtc_wait_for_pending_flips_locked().
> 
> intel_crtc_wait_for_pending_flips() is now just a wrapper that
> grab struct_mutex and calls intel_crtc_wait_for_pending_flips_locked().
> 
> This changes the behaviour of intel_crtc_wait_for_pending_flips()
> so that it now holds struct_mutex while waiting for pending flips.
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
 
Reviewed-by: Damien Lespiau <damien.lespiau at intel.com>

-- 
Damien



More information about the Intel-gfx mailing list