]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Simplify the uncleared FIFO underrun detection
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 16 May 2014 16:40:24 +0000 (19:40 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 22 May 2014 13:06:30 +0000 (15:06 +0200)
commitf0ed823700b986d91c0d00f80fbb48d02746f2c6
treecf3ae407d494762d6cee55b3c04b73553d51b2d9
parent55b02b9d694fd957fe241120324e85af31a9d22f
drm/i915: Simplify the uncleared FIFO underrun detection

Checking whether the error interrupt was enabled or not isn't really
necessary when we check for uncleared FIFO underruns. If it was enabled
we'll race with the interrupt handler a bit, but that seems OK as we
still claim the interrupt.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Thomas Wood <thomas.wood@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c