]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Convert uncleared FIFO underrun message to errors
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 16 May 2014 16:40:23 +0000 (19:40 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 16 May 2014 17:31:35 +0000 (19:31 +0200)
commit12033f862a13da97c8b2798f171f6c4e2c52e46d
tree85a0903021f64dfd9733bc7e5eb40f3798916a0b
parent633ddf9d50d9219a5b2acee03e0f4f0b53d1a22d
drm/i915: Convert uncleared FIFO underrun message to errors

Some platforms have a shared error interrupt, so if FIFO underrun
reporting gets disabled for one pipe/transcoder it gets disabled
for all pipes/transcoders.

When we disable FIFO underrun reporting we check whether the
interrupt was enabled or not. If it wasn't we might have missed
an underrun and we perform one last check right there. Currently
we print a debug message when an underrun is detect using this
mechanism. Promote the message to DRM_ERROR() to match the other
underrun error messages.

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