]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: don't set unpin_work if vblank_get fails
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 29 Aug 2011 16:45:28 +0000 (09:45 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 16 Dec 2011 16:49:58 +0000 (08:49 -0800)
commitb3ee5d58a7e02c814d9b7a3d79567a433a822c8a
treeb80e8c08261ee4b6551ea6d87f3fb26d578d8805
parentd35033217687a9284b30d4739dbc5922aca1f752
drm/i915: don't set unpin_work if vblank_get fails

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@virtuousgeek.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_display.c