Loading...
Note: File does not exist in v3.1.
1/* SPDX-License-Identifier: MIT */
2/*
3 * Copyright © 2019 Intel Corporation
4 */
5
6#ifndef __INTEL_FIFO_UNDERRUN_H__
7#define __INTEL_FIFO_UNDERRUN_H__
8
9#include <linux/types.h>
10
11struct drm_i915_private;
12enum pipe;
13
14bool intel_set_cpu_fifo_underrun_reporting(struct drm_i915_private *dev_priv,
15 enum pipe pipe, bool enable);
16bool intel_set_pch_fifo_underrun_reporting(struct drm_i915_private *dev_priv,
17 enum pipe pch_transcoder,
18 bool enable);
19void intel_cpu_fifo_underrun_irq_handler(struct drm_i915_private *dev_priv,
20 enum pipe pipe);
21void intel_pch_fifo_underrun_irq_handler(struct drm_i915_private *dev_priv,
22 enum pipe pch_transcoder);
23void intel_check_cpu_fifo_underruns(struct drm_i915_private *dev_priv);
24void intel_check_pch_fifo_underruns(struct drm_i915_private *dev_priv);
25
26#endif /* __INTEL_FIFO_UNDERRUN_H__ */