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_pch_refclk.[ch] to struct intel_display. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://lore.kernel.org/r/1bf35f05dc921e0ca548b0d0d8d7f5b7098e8140.1742554320.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
45 lines
1.1 KiB
C
45 lines
1.1 KiB
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2021 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _INTEL_PCH_REFCLK_H_
|
|
#define _INTEL_PCH_REFCLK_H_
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct intel_crtc_state;
|
|
struct intel_display;
|
|
|
|
#ifdef I915
|
|
void lpt_program_iclkip(const struct intel_crtc_state *crtc_state);
|
|
void lpt_disable_iclkip(struct intel_display *display);
|
|
int lpt_get_iclkip(struct intel_display *display);
|
|
int lpt_iclkip(const struct intel_crtc_state *crtc_state);
|
|
|
|
void intel_init_pch_refclk(struct intel_display *display);
|
|
void lpt_disable_clkout_dp(struct intel_display *display);
|
|
#else
|
|
static inline void lpt_program_iclkip(const struct intel_crtc_state *crtc_state)
|
|
{
|
|
}
|
|
static inline void lpt_disable_iclkip(struct intel_display *display)
|
|
{
|
|
}
|
|
static inline int lpt_get_iclkip(struct intel_display *display)
|
|
{
|
|
return 0;
|
|
}
|
|
static inline int lpt_iclkip(const struct intel_crtc_state *crtc_state)
|
|
{
|
|
return 0;
|
|
}
|
|
static inline void intel_init_pch_refclk(struct intel_display *display)
|
|
{
|
|
}
|
|
static inline void lpt_disable_clkout_dp(struct intel_display *display)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#endif
|