Commit 659eed2e authored by Jani Nikula's avatar Jani Nikula

drm/i915/display: add I915 conditional build to vlv_dsi_pll.h

Add stubs for !I915. Not all the functions need to be stubbed.
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Acked-by: default avatarDave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/930c8d332d425a54dae7af16aed26ec293f80afd.1694514689.git.jani.nikula@intel.com
parent 7f5c64c0
...@@ -32,7 +32,16 @@ u32 bxt_dsi_get_pclk(struct intel_encoder *encoder, ...@@ -32,7 +32,16 @@ u32 bxt_dsi_get_pclk(struct intel_encoder *encoder,
struct intel_crtc_state *config); struct intel_crtc_state *config);
void bxt_dsi_reset_clocks(struct intel_encoder *encoder, enum port port); void bxt_dsi_reset_clocks(struct intel_encoder *encoder, enum port port);
#ifdef I915
void assert_dsi_pll_enabled(struct drm_i915_private *i915); void assert_dsi_pll_enabled(struct drm_i915_private *i915);
void assert_dsi_pll_disabled(struct drm_i915_private *i915); void assert_dsi_pll_disabled(struct drm_i915_private *i915);
#else
static inline void assert_dsi_pll_enabled(struct drm_i915_private *i915)
{
}
static inline void assert_dsi_pll_disabled(struct drm_i915_private *i915)
{
}
#endif
#endif /* __VLV_DSI_PLL_H__ */ #endif /* __VLV_DSI_PLL_H__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment