File Index
Files and directories
Sign in
FILE

vlv_dsi.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/i915/display/vlv_dsi.h C
 1/* SPDX-License-Identifier: MIT */
 2/*
 3 * Copyright © 2021 Intel Corporation
 4 */
 5
 6#ifndef __VLV_DSI_H__
 7#define __VLV_DSI_H__
 8
 9enum port;
10struct intel_crtc_state;
11struct intel_display;
12struct intel_dsi;
13
14#ifdef I915
15void vlv_dsi_wait_for_fifo_empty(struct intel_dsi *intel_dsi, enum port port);
16int vlv_dsi_min_cdclk(const struct intel_crtc_state *crtc_state);
17void vlv_dsi_init(struct intel_display *display);
18#else
19static inline void vlv_dsi_wait_for_fifo_empty(struct intel_dsi *intel_dsi, enum port port)
20{
21}
22static inline int vlv_dsi_min_cdclk(const struct intel_crtc_state *crtc_state)
23{
24	return 0;
25}
26static inline void vlv_dsi_init(struct intel_display *display)
27{
28}
29#endif
30
31#endif /* __VLV_DSI_H__ */
~/ Read-only file preview.