drm/i915: Handle the no-interrupts case for UMS by polling
commit5a9a8d1a99c617df82339456fbdd30d6ed3a856b
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 23 Jan 2011 13:03:24 +0000 (23 13:03 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 24 Jan 2011 18:26:31 +0000 (24 18:26 +0000)
tree0aa92fdfa778a05353cbe82d4635597ba9e87114
parent3885c6bbd0c6c9cc3c8e6d4f723abc87c593b07a
drm/i915: Handle the no-interrupts case for UMS by polling

If the driver calls into the kernel to wait for a breadcrumb to pass,
but hasn't enabled interrupts, fallback to polling the breadcrumb value.

Reported-by: Chris Clayton <chris2553@googlemail.com>
Tested-by: Chris Clayton <chris2553@googlemail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_irq.c