]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Handle the no-interrupts case for UMS by polling
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 23 Jan 2011 13:03:24 +0000 (13:03 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 24 Jan 2011 18:26:31 +0000 (18:26 +0000)
commitd262a45521390feff7b354f12a92789cb93a32a4
tree0aa92fdfa778a05353cbe82d4635597ba9e87114
parentb5946a58c358554c6c2758bde7eab2e3f4ed5012
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