]> 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)
commit0f6c1c50973695187af7840acecc093c613c2520
treecf3ae407d494762d6cee55b3c04b73553d51b2d9
parentbb922066f544bf0756237ea55b6fbb4761c00b43
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