Contributors: 13
Author Tokens Token Proportion Commits Commit Proportion
Suraj Kandpal 128 52.89% 11 31.43%
Mika Kahola 37 15.29% 7 20.00%
Radhakrishna Sripada 22 9.09% 1 2.86%
Jani Nikula 15 6.20% 3 8.57%
Paulo Zanoni 8 3.31% 2 5.71%
Ander Conselvan de Oliveira 8 3.31% 3 8.57%
Lucas De Marchi 8 3.31% 2 5.71%
Imre Deak 6 2.48% 1 2.86%
Ville Syrjälä 4 1.65% 1 2.86%
Jesse Barnes 2 0.83% 1 2.86%
Ankit Nautiyal 2 0.83% 1 2.86%
Daniel Vetter 1 0.41% 1 2.86%
Eric Anholt 1 0.41% 1 2.86%
Total 242 35


/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2025 Intel Corporation
 */

#ifndef __INTEL_LT_PHY_H__
#define __INTEL_LT_PHY_H__

#include <linux/types.h>

struct drm_printer;
struct intel_atomic_state;
struct intel_display;
struct intel_dpll;
struct intel_dpll_hw_state;
struct intel_encoder;
struct intel_crtc_state;
struct intel_crtc;
struct intel_lt_phy_pll_state;

void intel_lt_phy_pll_enable(struct intel_encoder *encoder,
			     struct intel_dpll *pll,
			     const struct intel_dpll_hw_state *dpll_hw_state);
void intel_lt_phy_pll_disable(struct intel_encoder *encoder);
int
intel_lt_phy_pll_calc_state(struct intel_crtc_state *crtc_state,
			    struct intel_encoder *encoder,
			    struct intel_dpll_hw_state *hw_state);
void intel_lt_phy_tbt_pll_calc_state(struct intel_dpll_hw_state *hw_state);
int intel_lt_phy_calc_port_clock(struct intel_display *display,
				 const struct intel_lt_phy_pll_state *lt_state);
void intel_lt_phy_set_signal_levels(struct intel_encoder *encoder,
				    const struct intel_crtc_state *crtc_state);
void intel_lt_phy_dump_hw_state(struct drm_printer *p,
				const struct intel_lt_phy_pll_state *hw_state);
bool
intel_lt_phy_pll_compare_hw_state(const struct intel_lt_phy_pll_state *a,
				  const struct intel_lt_phy_pll_state *b);
bool intel_lt_phy_tbt_pll_readout_hw_state(struct intel_display *display,
					   struct intel_dpll *pll,
					   struct intel_dpll_hw_state *hw_state);
bool intel_lt_phy_pll_readout_hw_state(struct intel_encoder *encoder,
				       struct intel_lt_phy_pll_state *pll_state);
int
intel_lt_phy_calculate_hdmi_state(struct intel_lt_phy_pll_state *lt_state,
				  u32 frequency_khz);
void intel_xe3plpd_pll_enable(struct intel_encoder *encoder,
			      struct intel_dpll *pll,
			      const struct intel_dpll_hw_state *dpll_hw_state);
void intel_xe3plpd_pll_disable(struct intel_encoder *encoder);
void intel_lt_phy_verify_plls(struct intel_display *display);

#endif /* __INTEL_LT_PHY_H__ */