0001
0002
0003
0004
0005
0006 #ifndef __INTEL_FIFO_UNDERRUN_H__
0007 #define __INTEL_FIFO_UNDERRUN_H__
0008
0009 #include <linux/types.h>
0010
0011 #include "intel_display.h"
0012
0013 struct drm_i915_private;
0014
0015 bool intel_set_cpu_fifo_underrun_reporting(struct drm_i915_private *dev_priv,
0016 enum pipe pipe, bool enable);
0017 bool intel_set_pch_fifo_underrun_reporting(struct drm_i915_private *dev_priv,
0018 enum pipe pch_transcoder,
0019 bool enable);
0020 void intel_cpu_fifo_underrun_irq_handler(struct drm_i915_private *dev_priv,
0021 enum pipe pipe);
0022 void intel_pch_fifo_underrun_irq_handler(struct drm_i915_private *dev_priv,
0023 enum pipe pch_transcoder);
0024 void intel_check_cpu_fifo_underruns(struct drm_i915_private *dev_priv);
0025 void intel_check_pch_fifo_underruns(struct drm_i915_private *dev_priv);
0026
0027 #endif