Refactors LT PHY PLL handling to route it through the existing
DPLL framework.
Currently, LT PHY PLL control lives in standalone code paths separate
from the DPLL infrastructure. This results in duplicated logic and
special-case handling in the display enable/disable paths.
The series consolidates LT PHY PLL handling under the current DPLL
abstractions. The changes are mechanical in nature and do not introduce
any new DPLL infrastructure.
Intended behavior is unchanged.
Summary:
- Move LT PHY PLL state handling under DPLL structures
- Wire LT PHY PLL enable/disable through DPLL hooks
- Remove redundant standalone LT PLL code paths
Mika Kahola (19):
drm/i915/lt_phy: Dump missing PLL state parameters
drm/i915/lt_phy: Add check if PLL is enabled
drm/i915/lt_phy: Add PLL information for xe3lpdp
drm/i915/lt_phy: Add xe3plpd .compute_dplls hook
drm/i915/lt_phy: Add xe3plpd .get_dplls hook
drm/i915/lt_phy: Add xe3plpd .put_dplls hook
drm/i915/lt_phy: Add xe3plpdp .update_active_dpll hook
drm/i915/lt_phy: Add xe3plpd .update_dpll_ref_clks hook
drm/i915/lt_phy: Add xe3plpd .dump_hw_state hook
drm/i915/lt_phy: Add xe3pldp .compare_hw_state hook
drm/i915/lt_phy: Add xe3plpd .get_hw_state hook
drm/i915/lt_phy: Add xe3plpd .get_freq hook
drm/i915/lt_phy: Add xe3plpd .crtc_get_dpll
drm/i915/lt_phy: Add .enable_clock/disable clock on DDI for xe3plpd
platform
drm/i915/lt_phy: Readout lane count
drm/i915/lt_phy: Get encoder configuration for xe3plpd platform
drm/i915/lt_phy: Add xe3plpd Thunderbolt pll hooks
drm/i915/lt_phy: Remove LT PHY specific state verification
drm/i915/lt_phy: Enable dpll framework for xe3plpd
drivers/gpu/drm/i915/display/intel_cx0_phy.c | 10 +-
drivers/gpu/drm/i915/display/intel_cx0_phy.h | 1 +
drivers/gpu/drm/i915/display/intel_ddi.c | 26 +--
drivers/gpu/drm/i915/display/intel_display.c | 32 ---
drivers/gpu/drm/i915/display/intel_dpll.c | 26 +--
drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 170 ++++++++++++++-
drivers/gpu/drm/i915/display/intel_dpll_mgr.h | 1 +
drivers/gpu/drm/i915/display/intel_lt_phy.c | 200 +++++++++++-------
drivers/gpu/drm/i915/display/intel_lt_phy.h | 26 ++-
.../drm/i915/display/intel_modeset_verify.c | 1 -
10 files changed, 322 insertions(+), 171 deletions(-)
--
2.43.0