Home
last modified time | relevance | path

Searched hist:"2 d9d2b0b438e46f0b2bf3c3379a5338ffa909027" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_irq.cdiff 2d9d2b0b438e46f0b2bf3c3379a5338ffa909027 Fri Jan 17 03:44:31 CST 2014 Ville Syrjälä <ville.syrjala@linux.intel.com> drm/i915: Limit FIFO underrun reports on GMCH platforms

Currently we print all pipe underruns on GMCH platforms. Hook up the
same logic we use on PCH platforms where we disable the underrun
reporting after the first underrun.

Underruns don't actually generate interrupts themselves on GMCH
platforms, we just can detect them whenever we service other
interrupts. So we don't have any enable bits to worry about. We just
need to remember to clear the underrun status when enabling underrun
reporting.

Note that the underrun handling needs to be moved to the non-locked
pipe_stats[] loop in the interrupt handlers to avoid having to rework
the locking in intel_set_cpu_fifo_underrun_reporting().

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>