]> Git Repo - J-linux.git/blob - drivers/gpu/drm/i915/display/intel_pch_refclk.h
Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
[J-linux.git] / drivers / gpu / drm / i915 / display / intel_pch_refclk.h
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2021 Intel Corporation
4  */
5
6 #ifndef _INTEL_PCH_REFCLK_H_
7 #define _INTEL_PCH_REFCLK_H_
8
9 #include <linux/types.h>
10
11 struct drm_i915_private;
12 struct intel_crtc_state;
13
14 #ifdef I915
15 void lpt_program_iclkip(const struct intel_crtc_state *crtc_state);
16 void lpt_disable_iclkip(struct drm_i915_private *dev_priv);
17 int lpt_get_iclkip(struct drm_i915_private *dev_priv);
18 int lpt_iclkip(const struct intel_crtc_state *crtc_state);
19
20 void intel_init_pch_refclk(struct drm_i915_private *dev_priv);
21 void lpt_disable_clkout_dp(struct drm_i915_private *dev_priv);
22 #else
23 static inline void lpt_program_iclkip(const struct intel_crtc_state *crtc_state)
24 {
25 }
26 static inline void lpt_disable_iclkip(struct drm_i915_private *dev_priv)
27 {
28 }
29 static inline int lpt_get_iclkip(struct drm_i915_private *dev_priv)
30 {
31         return 0;
32 }
33 static inline int lpt_iclkip(const struct intel_crtc_state *crtc_state)
34 {
35         return 0;
36 }
37 static inline void intel_init_pch_refclk(struct drm_i915_private *dev_priv)
38 {
39 }
40 static inline void lpt_disable_clkout_dp(struct drm_i915_private *dev_priv)
41 {
42 }
43 #endif
44
45 #endif
This page took 0.029829 seconds and 4 git commands to generate.