[Intel-gfx] [PATCH 3/3] drm/i915: Update primary planes after a GPU reset

Chris Wilson chris at chris-wilson.co.uk
Fri Feb 15 16:28:33 CET 2013


On Fri, Feb 15, 2013 at 05:07:46PM +0200, ville.syrjala at linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> GPU reset will drop all flips that are still in the ring. So after the
> reset, call update_plane() for all CRTCs to make sure the primary
> planes are scanning out from the correct buffer.
> 
> The base address update will also generate a FLIP_DONE interrupt, which
> will complete any pending flips. That means user space will get its
> page flip events and won't get stuck waiting for them.

Not for all generations. There's no harm in explicitly finishing the
pageflip, and then the FLIP_DONE is just a normal spurious interrupt.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list