mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Add function to configre LFPS sending for Panel Replay according to link training sequence in HAS document. This assumes we are using AUX Less always if it's supported by the sink and the source. v2: - drop HAS reference - replay kerneldoc comment with a generic comment - check display version in intel_lnl_mac_transmit_lfps Bspec: 68849 Signed-off-by: Jouni Högander <jouni.hogander@intel.com> Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Link: https://lore.kernel.org/r/20250526120512.1702815-11-jouni.hogander@intel.com
49 lines
1.8 KiB
C
49 lines
1.8 KiB
C
// SPDX-License-Identifier: MIT
|
|
/*
|
|
* Copyright © 2023 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_CX0_PHY_H__
|
|
#define __INTEL_CX0_PHY_H__
|
|
|
|
#include <linux/types.h>
|
|
|
|
enum icl_port_dpll_id;
|
|
struct intel_atomic_state;
|
|
struct intel_c10pll_state;
|
|
struct intel_c20pll_state;
|
|
struct intel_crtc;
|
|
struct intel_crtc_state;
|
|
struct intel_cx0pll_state;
|
|
struct intel_display;
|
|
struct intel_encoder;
|
|
struct intel_hdmi;
|
|
|
|
bool intel_encoder_is_c10phy(struct intel_encoder *encoder);
|
|
void intel_mtl_pll_enable(struct intel_encoder *encoder,
|
|
const struct intel_crtc_state *crtc_state);
|
|
void intel_mtl_pll_disable(struct intel_encoder *encoder);
|
|
enum icl_port_dpll_id
|
|
intel_mtl_port_pll_type(struct intel_encoder *encoder,
|
|
const struct intel_crtc_state *crtc_state);
|
|
|
|
int intel_cx0pll_calc_state(struct intel_crtc_state *crtc_state, struct intel_encoder *encoder);
|
|
void intel_cx0pll_readout_hw_state(struct intel_encoder *encoder,
|
|
struct intel_cx0pll_state *pll_state);
|
|
int intel_cx0pll_calc_port_clock(struct intel_encoder *encoder,
|
|
const struct intel_cx0pll_state *pll_state);
|
|
|
|
void intel_cx0pll_dump_hw_state(struct intel_display *display,
|
|
const struct intel_cx0pll_state *hw_state);
|
|
void intel_cx0pll_state_verify(struct intel_atomic_state *state,
|
|
struct intel_crtc *crtc);
|
|
bool intel_cx0pll_compare_hw_state(const struct intel_cx0pll_state *a,
|
|
const struct intel_cx0pll_state *b);
|
|
void intel_cx0_phy_set_signal_levels(struct intel_encoder *encoder,
|
|
const struct intel_crtc_state *crtc_state);
|
|
int intel_mtl_tbt_calc_port_clock(struct intel_encoder *encoder);
|
|
void intel_cx0_pll_power_save_wa(struct intel_display *display);
|
|
void intel_lnl_mac_transmit_lfps(struct intel_encoder *encoder,
|
|
const struct intel_crtc_state *crtc_state);
|
|
|
|
#endif /* __INTEL_CX0_PHY_H__ */
|