intel_set_cpu_fifo_underrun_reporting — set cpu fifo underrrun reporting state
bool intel_set_cpu_fifo_underrun_reporting ( | struct drm_i915_private * dev_priv, |
enum pipe pipe, | |
bool enable) ; |
dev_priv
i915 device instance
pipe
(CPU) pipe to set state for
enable
whether underruns should be reported or not
This function sets the fifo underrun state for pipe
. It is used in the
modeset code to avoid false positives since on many platforms underruns are
expected when disabling or enabling the pipe.
Notice that on some platforms disabling underrun reports for one pipe disables for all due to shared interrupts. Actual reporting is still per-pipe though.
Returns the previous state of underrun reporting.