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 7A4F8CCF9F0 for ; Sat, 1 Nov 2025 03:25:38 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EF3D610EC4A; Sat, 1 Nov 2025 03:25:37 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="L7JKagMZ"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) by gabe.freedesktop.org (Postfix) with ESMTPS id A34DB10EC46; Sat, 1 Nov 2025 03:25:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1761967536; x=1793503536; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=PZEttlSJ9OlY6XyzQ0IC3jYCB1gY/foGko/IHt/3PrA=; b=L7JKagMZpKOUZawLQHiGvviPlqGb2dNpTyXrIq7As7fm0hlZI+jWZRxW +4xtFwAQAYiKA/InJsXodWGLtRqKQmU4ayJujkf8bSs6CeW9CfeNNIERY KX6TWJjQZMkJDyPqfBG4JDpBQb7FMhj+vhYZ8xWDuOiz+8su7Rfru5A0s 2TRg1TqV9vDpOGawDB2DEcSmb3ymBk/uud0LokWqg9gbm2YfPLQafaZSA j03TBqLBmdX+bmYKCyvSFj7l1kyS+oqYad/aIOmJCUS0GcYnMb+O/eXf6 VMQ5HEMLOqaKnVjGFZtdPKV5Imgbzo7voswM4LiZV4/3pf/fL6AWRUner Q==; X-CSE-ConnectionGUID: EoQnMNZCTfugg/dM9NUpDw== X-CSE-MsgGUID: TknsWQeFRjqlVHF+J1qLZw== X-IronPort-AV: E=McAfee;i="6800,10657,11599"; a="64019853" X-IronPort-AV: E=Sophos;i="6.19,271,1754982000"; d="scan'208";a="64019853" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Oct 2025 20:25:36 -0700 X-CSE-ConnectionGUID: likRN98ZTxmvm0f9NAqnPA== X-CSE-MsgGUID: AFMdo8Q6SE+hH9eoryjgpg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.19,271,1754982000"; d="scan'208";a="217037983" Received: from kandpal-x299-ud4-pro.iind.intel.com ([10.190.239.10]) by orviesa002.jf.intel.com with ESMTP; 31 Oct 2025 20:25:35 -0700 From: Suraj Kandpal To: intel-xe@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Cc: Suraj Kandpal , Arun R Murthy Subject: [PATCH v5 10/25] drm/i915/ltphy: Update the ltpll config table value for eDP Date: Sat, 1 Nov 2025 08:54:58 +0530 Message-Id: <20251101032513.4171255-11-suraj.kandpal@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251101032513.4171255-1-suraj.kandpal@intel.com> References: <20251101032513.4171255-1-suraj.kandpal@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" When we get the eDP tables we reuse dp tables for some data rates. We need to modify the 3rd config value of this table to 1 instead of 0 since that is the only difference in the dp and edp table for that particular data rate. Signed-off-by: Suraj Kandpal Reviewed-by: Arun R Murthy --- drivers/gpu/drm/i915/display/intel_lt_phy.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/i915/display/intel_lt_phy.c b/drivers/gpu/drm/i915/display/intel_lt_phy.c index ece81e8d558d..892dea3b975f 100644 --- a/drivers/gpu/drm/i915/display/intel_lt_phy.c +++ b/drivers/gpu/drm/i915/display/intel_lt_phy.c @@ -1225,6 +1225,10 @@ intel_lt_phy_pll_calc_state(struct intel_crtc_state *crtc_state, for (i = 0; tables[i]; i++) { if (crtc_state->port_clock == tables[i]->clock) { crtc_state->dpll_hw_state.ltpll = *tables[i]; + if (intel_crtc_has_dp_encoder(crtc_state)) { + if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_EDP)) + crtc_state->dpll_hw_state.ltpll.config[2] = 1; + } return 0; } } -- 2.34.1