Fill port_clock and hw.adjusted_mode.crtc_clock with the actual frequency we're going to be getting from the hardware. This will let us accurately compute all derived state that depends on those. v2: Reintroduce iCLKIP WARN v3: Try to deal with VLV/BXT DSI PLL as well Reviewed-by: Jani Nikula <jani.nikula@intel.com> #v1 Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220907091057.11572-8-ville.syrjala@linux.intel.com
22 lines
595 B
C
22 lines
595 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2021 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _INTEL_PCH_REFCLK_H_
|
|
#define _INTEL_PCH_REFCLK_H_
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct drm_i915_private;
|
|
struct intel_crtc_state;
|
|
|
|
void lpt_program_iclkip(const struct intel_crtc_state *crtc_state);
|
|
void lpt_disable_iclkip(struct drm_i915_private *dev_priv);
|
|
int lpt_get_iclkip(struct drm_i915_private *dev_priv);
|
|
int lpt_iclkip(const struct intel_crtc_state *crtc_state);
|
|
|
|
void intel_init_pch_refclk(struct drm_i915_private *dev_priv);
|
|
void lpt_disable_clkout_dp(struct drm_i915_private *dev_priv);
|
|
|
|
#endif
|