[Intel-gfx] [PATCH] drm/i915: untangle page flip completion

Eric Anholt eric at anholt.net
Wed Feb 10 23:34:53 CET 2010


On Tue, 26 Jan 2010 14:40:05 -0800, Jesse Barnes <jbarnes at virtuousgeek.org> wrote:
> When a new page flip is requested, we need to both queue an unpin for
> the current framebuffer, and also increment the flip pending count on
> the newly submitted buffer.
> 
> At flip finish time, we need to unpin the old fb and decrement the flip
> pending count on the new buffer.
> 
> The old code was conflating the two, and led to hangs when new direct
> rendered apps were started, replacing the existing frame buffer.  This
> patch splits out the buffers and prevents the hangs.
> 
> Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>

Applied to for-linus.  Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20100210/193a8a55/attachment.pgp>


More information about the Intel-gfx mailing list