]> git.karo-electronics.de Git - karo-tx-linux.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)
commit823c690958ca3792f5450e8e3167409f4ea7ba7c
tree85a0903021f64dfd9733bc7e5eb40f3798916a0b
parent5cc9ed4b9a7ac579362ccebac67f7a4cdb36de06
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