From mboxrd@z Thu Jan 1 00:00:00 1970 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 BC2A2CCD18E for ; Wed, 15 Oct 2025 04:08:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5A43D10E716; Wed, 15 Oct 2025 04:08:53 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="k2GJQc20"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1F6D810E714; Wed, 15 Oct 2025 04:08:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1760501332; x=1792037332; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=WBBvlx3wvajT/icEdRZJeQIeLTb7hQiFB9ARZiGQ3oM=; b=k2GJQc20vHTIwvZvQqS4jxqn18IkPifuNTel9mq75krvWM3Cna3XGgNO Ih2f1C8tbkXe2T7t82jEXLrbRXp41zwAlqi0V3HKxgkl0sR1kr8lqp/bq U32btJ/xAXGB+9j+870ltHcafmAg9WIJY0ezWTDDoPqZBb7ooIuRKMNWO C7eby8E0MVW2NVwKhArmXU0u3D+Qovj65lByUgpgJPZbv//VV2tpTKjdU 1Ps4K8vTaMUC1wyq37/0dRb1Sb7TfDSbDgXEnQJo33WajYf+DzAIL1D5H Qkd11ZkwXa8A6CbKQgkk3su0dDBTVuhV1/UHMBoQa//WRu7jSE8E0C8TA Q==; X-CSE-ConnectionGUID: Vzq0mlUjSxCLYzVWMr2MbQ== X-CSE-MsgGUID: pm4q1S5cSjqvqiAKpz9vdQ== X-IronPort-AV: E=McAfee;i="6800,10657,11582"; a="66318959" X-IronPort-AV: E=Sophos;i="6.19,230,1754982000"; d="scan'208";a="66318959" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Oct 2025 21:08:52 -0700 X-CSE-ConnectionGUID: 1/HZq/pFRVCOwSrL2s5jwA== X-CSE-MsgGUID: lA+4D020Q0iff+UfF7SFEw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.19,230,1754982000"; d="scan'208";a="219196130" Received: from kandpal-x299-ud4-pro.iind.intel.com ([10.190.239.10]) by orviesa001.jf.intel.com with ESMTP; 14 Oct 2025 21:08:49 -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 09/25] drm/i915/ltphy: Update the ltpll config table value for eDP Date: Wed, 15 Oct 2025 09:38:01 +0530 Message-Id: <20251015040817.3431297-10-suraj.kandpal@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251015040817.3431297-1-suraj.kandpal@intel.com> References: <20251015040817.3431297-1-suraj.kandpal@intel.com> 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" 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 --- 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 9380ba530901..8cd0009609d4 100644 --- a/drivers/gpu/drm/i915/display/intel_lt_phy.c +++ b/drivers/gpu/drm/i915/display/intel_lt_phy.c @@ -1226,6 +1226,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