Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CF041CCF9FE for ; Sat, 1 Nov 2025 03:04:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 78BDC10E0AE; Sat, 1 Nov 2025 03:04:42 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="K+dMiwDy"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by gabe.freedesktop.org (Postfix) with ESMTPS id BA13910E0AE; Sat, 1 Nov 2025 03:04:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1761966282; x=1793502282; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=zEzztDSzRpXk4dFG4574LMeRFwVdMnXQNoucrzQvEwY=; b=K+dMiwDyoQ2krBbJXZLVDWC0ksvCh8c+WLRKBHBhip6/Ez+nj4UlUKFs CJRq1zYHHJh27yWpHOXVXhgsViB8FUsJyuH86yUosa7yYxuKFRXZxNDB2 ZOG4oajGoKeQ57sbfS20+gjcieW7mYR5NVYTwSKtTmVRHyQRWDQqJGu3R ZvOaH+qQEwERrEP2LXUdsxtfU1hfCqUfi5BjdCeCjyZVsEVLPsbBTxXwY QuUDgjArELnyxpwJg8ratAreA5TMKrr69RfCFD5U5CVQ/nRLSDkVKD4O4 43zgmXbrQgPdM3iCHIqiYcHMefCyaZk/hTgoG8E30RVuscx053GuOTbwh g==; X-CSE-ConnectionGUID: Q6m5qSuyRLGqd3PLh/j4KA== X-CSE-MsgGUID: dtdrQQSySpqdP8+9i6DndA== X-IronPort-AV: E=McAfee;i="6800,10657,11599"; a="81759496" X-IronPort-AV: E=Sophos;i="6.19,271,1754982000"; d="scan'208,223";a="81759496" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Oct 2025 20:04:41 -0700 X-CSE-ConnectionGUID: Qf3ThZflRJKXrqfD1tSvbg== X-CSE-MsgGUID: hOtlaHMjRxiP88v+NE61Uw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.19,271,1754982000"; d="scan'208,223";a="217222553" Received: from kandpal-x299-ud4-pro.iind.intel.com ([10.190.239.10]) by fmviesa001.fm.intel.com with ESMTP; 31 Oct 2025 20:04:37 -0700 From: Suraj Kandpal To: intel-xe@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Cc: ankit.k.nautiyal@intel.com, arun.r.murthy@intel.com, uma.shankar@intel.com, gustavo.sousa@intel.com, lucas.demarchi@intel.com, Suraj Kandpal Subject: [PATCH v4 00/25] Enable LT PHY Date: Sat, 1 Nov 2025 08:34:09 +0530 Message-Id: <20251101030434.4159839-1-suraj.kandpal@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" From Xe3p we move on to LT PHY from CX0 PHY. This series implements all the required enable/disable sequences, DP/HDMI PLL state calculation using tables, HDMI Algorithm to calculate PLL state and the reverse Algo where we use the state to calculate the portclock, new Vswing tables and programming required to get everything up and running. Signed-off-by: Suraj Kandpal Suraj Kandpal (25): drm/i915/ltphy: Add LT Phy related VDR and Pipe Registers drm/i915/cx0: Change register bit naming for powerdown values drm/i915/ltphy: Phy lane reset for LT Phy drm/i915/cx0: Move the HDMI FRL function to intel_hdmi drm/i915/ltphy: Program sequence for PORT_CLOCK_CTL for LT Phy drm/i915/ltphy: Add a wrapper for LT Phy powerdown change sequence drm/i915/ltphy: Read PHY_VDR_0_CONFIG register drm/i915/ltphy: Add LT Phy Programming recipe tables drm/i915/ltphy: Program the VDR PLL registers for LT PHY drm/i915/ltphy: Update the ltpll config table value for eDP drm/i915/ltphy: Enable SSC during port clock programming drm/i915/ltphy: Add function to calculate LT PHY port clock drm/i915/ltphy: Program the P2P Transaction flow for LT Phy drm/i915/ltphy: Program the rest of the PORT_CLOCK_CTL steps drm/i915/ltphy: Program the rest of the LT Phy Enable sequence drm/i915/ltphy: Program LT Phy Non-TBT PLL disable sequence drm/i915/ltphy: Hook up LT Phy Enable & Disable sequences drm/i915/ddi: Define LT Phy Swing tables drm/i915/ltphy: Program LT Phy Voltage Swing drm/i915/ltphy: Enable/Disable Tx after Non TBT Enable sequence drm/i915/ltphy: Define the LT Phy state compare function drm/i915/ltphy: Define function to readout LT Phy PLL state drm/i915/ltphy: Define LT PHY PLL state verify function drm/i915/display: Aux Enable and Display powerwell timeouts drm/i915/ltphy: Modify the step that need to be skipped drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/display/intel_cx0_phy.c | 76 +- drivers/gpu/drm/i915/display/intel_cx0_phy.h | 21 + .../gpu/drm/i915/display/intel_cx0_phy_regs.h | 15 +- drivers/gpu/drm/i915/display/intel_ddi.c | 34 +- .../drm/i915/display/intel_ddi_buf_trans.c | 81 +- .../drm/i915/display/intel_ddi_buf_trans.h | 9 + drivers/gpu/drm/i915/display/intel_display.c | 33 +- .../i915/display/intel_display_power_well.c | 22 +- drivers/gpu/drm/i915/display/intel_dpll.c | 31 +- drivers/gpu/drm/i915/display/intel_dpll_mgr.h | 11 + drivers/gpu/drm/i915/display/intel_hdmi.c | 14 + drivers/gpu/drm/i915/display/intel_hdmi.h | 1 + drivers/gpu/drm/i915/display/intel_lt_phy.c | 2000 +++++++++++++++++ drivers/gpu/drm/i915/display/intel_lt_phy.h | 44 + .../gpu/drm/i915/display/intel_lt_phy_regs.h | 75 + .../drm/i915/display/intel_modeset_verify.c | 2 + drivers/gpu/drm/xe/Makefile | 1 + 18 files changed, 2410 insertions(+), 61 deletions(-) create mode 100644 drivers/gpu/drm/i915/display/intel_lt_phy.c create mode 100644 drivers/gpu/drm/i915/display/intel_lt_phy.h create mode 100644 drivers/gpu/drm/i915/display/intel_lt_phy_regs.h -- 2.34.1