mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Going forward, struct intel_display is the main display device data pointer. Convert as much as possible of intel_fifo_underrun.[ch] to struct intel_display. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/682e667013e1726a6f2f78484b7e9618cee3b639.1739378096.git.jani.nikula@intel.com
29 lines
963 B
C
29 lines
963 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2019 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_FIFO_UNDERRUN_H__
|
|
#define __INTEL_FIFO_UNDERRUN_H__
|
|
|
|
#include <linux/types.h>
|
|
|
|
enum pipe;
|
|
struct intel_crtc;
|
|
struct intel_display;
|
|
|
|
void intel_init_fifo_underrun_reporting(struct intel_display *display,
|
|
struct intel_crtc *crtc, bool enable);
|
|
bool intel_set_cpu_fifo_underrun_reporting(struct intel_display *display,
|
|
enum pipe pipe, bool enable);
|
|
bool intel_set_pch_fifo_underrun_reporting(struct intel_display *display,
|
|
enum pipe pch_transcoder,
|
|
bool enable);
|
|
void intel_cpu_fifo_underrun_irq_handler(struct intel_display *display,
|
|
enum pipe pipe);
|
|
void intel_pch_fifo_underrun_irq_handler(struct intel_display *display,
|
|
enum pipe pch_transcoder);
|
|
void intel_check_cpu_fifo_underruns(struct intel_display *display);
|
|
void intel_check_pch_fifo_underruns(struct intel_display *display);
|
|
|
|
#endif /* __INTEL_FIFO_UNDERRUN_H__ */
|