Merge tag 'io_uring-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / gpu / drm / i915 / display / intel_fifo_underrun.h
blobe04f22ac1f49a2d20db894cb793dfdaaec4cf236
1 /* SPDX-License-Identifier: MIT */
2 /*
3 * Copyright © 2019 Intel Corporation
4 */
6 #ifndef __INTEL_FIFO_UNDERRUN_H__
7 #define __INTEL_FIFO_UNDERRUN_H__
9 #include <linux/types.h>
11 #include "intel_display.h"
13 struct drm_i915_private;
15 bool intel_set_cpu_fifo_underrun_reporting(struct drm_i915_private *dev_priv,
16 enum pipe pipe, bool enable);
17 bool intel_set_pch_fifo_underrun_reporting(struct drm_i915_private *dev_priv,
18 enum pipe pch_transcoder,
19 bool enable);
20 void intel_cpu_fifo_underrun_irq_handler(struct drm_i915_private *dev_priv,
21 enum pipe pipe);
22 void intel_pch_fifo_underrun_irq_handler(struct drm_i915_private *dev_priv,
23 enum pipe pch_transcoder);
24 void intel_check_cpu_fifo_underruns(struct drm_i915_private *dev_priv);
25 void intel_check_pch_fifo_underruns(struct drm_i915_private *dev_priv);
27 #endif /* __INTEL_FIFO_UNDERRUN_H__ */