summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_irq.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2010-01-14 13:18:02 -0800
committerEric Anholt <eric@anholt.net>2010-01-25 22:01:12 -0800
commitde3f440f8c9922afe8770dd16c84f1c87d779b59 (patch)
tree3f5eafaeb3e90a92b3ca503592d99277fe60816b /drivers/gpu/drm/i915/i915_irq.c
parent8a6c77d645d9111f7bc01f908464301f5c3e0a05 (diff)
drm/i915: handle non-flip pending case when unpinning the scanout buffer
The first page flip queued will replace the current front buffer, which should have a 0 pending flip count. So at finish time we need to handle that case (i.e. if the flip count is 0 *or* dec_and_test is 0 we need to wake the waiters). Also fix up an error path in the queue function and add some debug output (only enabled with driver debugging). Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_irq.c')
0 files changed, 0 insertions, 0 deletions