[Intel-gfx] [PATCH] drm/i915: don't set unpin_work if vblank_get fails
Jesse Barnes
jbarnes at virtuousgeek.org
Mon Aug 29 18:44:52 CEST 2011
On Mon, 22 Aug 2011 11:05:31 -0700
Jesse Barnes <jbarnes at virtuousgeek.org> wrote:
> This fixes a race where we may try to finish a page flip and decrement
> the refcount even if our vblank_get failed and we ended up with a
> spurious flip pending interrupt.
>
> Fixes https://bugs.freedesktop.org/show_bug.cgi?id=34211.
>
> Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
Updated patch. Though now I've lost track of the outstanding
issues... IIRC we still have another race here, but it's unrelated to
the one in the bug report.
Jesse
More information about the Intel-gfx
mailing list