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 vlv_dsi.[ch] to struct intel_display. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://lore.kernel.org/r/320449f3b58c6eca6fdbb16e4e819cd0e133887a.1742554320.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
31 lines
709 B
C
31 lines
709 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2021 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __VLV_DSI_H__
|
|
#define __VLV_DSI_H__
|
|
|
|
enum port;
|
|
struct intel_crtc_state;
|
|
struct intel_display;
|
|
struct intel_dsi;
|
|
|
|
#ifdef I915
|
|
void vlv_dsi_wait_for_fifo_empty(struct intel_dsi *intel_dsi, enum port port);
|
|
int vlv_dsi_min_cdclk(const struct intel_crtc_state *crtc_state);
|
|
void vlv_dsi_init(struct intel_display *display);
|
|
#else
|
|
static inline void vlv_dsi_wait_for_fifo_empty(struct intel_dsi *intel_dsi, enum port port)
|
|
{
|
|
}
|
|
static inline int vlv_dsi_min_cdclk(const struct intel_crtc_state *crtc_state)
|
|
{
|
|
return 0;
|
|
}
|
|
static inline void vlv_dsi_init(struct intel_display *display)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#endif /* __VLV_DSI_H__ */
|