From patchwork Mon Apr 15 08:14:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Vivekanandan, Balasubramani" X-Patchwork-Id: 13629627 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 DF5E7C00A94 for ; Mon, 15 Apr 2024 08:14:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 72BFA1122EA; Mon, 15 Apr 2024 08:14:22 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="WXe0VydX"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) by gabe.freedesktop.org (Postfix) with ESMTPS id AE5EF1122DA; Mon, 15 Apr 2024 08:14:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713168859; x=1744704859; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=03ysfeUvcZLg2+DKVE4A2hpdLLtAhpy1bXyG91ZW0nA=; b=WXe0VydXKCw+j8MkMSnwfBZJEd39rqOcsekwAHt/7//A4BhWz+0s9lwk mRl/uOR7wWGvlbsWGx7VV5xKCCPHi7PyTRIiB5rA/vcGYEL2Vp4iODT0n 4CFrCAHewvdsKi0vYwWDlLUy06nnugdctixAIP2DJYCLiPcXmeToPNaq+ RejbW8Gq1TYc35OUjLXUWJ1jQBw7zROpZtHiTjV+Vgj0tc25A0N4Ztab8 pn2PuKU6qXnard6ydf9ZF55oyXRrPKixDvDIZTpuwAUkL5Q1os6zA8Vfg phyWRM1DtaMb5imN0n/iV/ZfGbnC5fN401OZ6YKR4CEJZ/QNcnWHjoNXd g==; X-CSE-ConnectionGUID: z91PBtF5SCm5vE36ehhpVQ== X-CSE-MsgGUID: 4UGAvCe/Tteax6CPl/EfNw== X-IronPort-AV: E=McAfee;i="6600,9927,11044"; a="9096403" X-IronPort-AV: E=Sophos;i="6.07,202,1708416000"; d="scan'208";a="9096403" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2024 01:14:19 -0700 X-CSE-ConnectionGUID: vFfwZwzESNqk9A4jQlthVg== X-CSE-MsgGUID: A0Px+sFGQdCAt4nCE/SDfg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,202,1708416000"; d="scan'208";a="26400336" Received: from bvivekan-desk.iind.intel.com ([10.190.238.63]) by fmviesa003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2024 01:14:18 -0700 From: Balasubramani Vivekanandan To: intel-xe@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Cc: Lucas De Marchi , Matt Roper , Ravi Kumar Vodapalli , Balasubramani Vivekanandan Subject: [PATCH v3 10/21] drm/i915/xe2hpd: update pll values in sync with Bspec Date: Mon, 15 Apr 2024 13:44:12 +0530 Message-Id: <20240415081423.495834-11-balasubramani.vivekanandan@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240415081423.495834-1-balasubramani.vivekanandan@intel.com> References: <20240415081423.495834-1-balasubramani.vivekanandan@intel.com> MIME-Version: 1.0 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" From: Ravi Kumar Vodapalli DP/eDP and HDMI pll values are updated for Xe2_HPD platform v2: Removed the unsupported mtl_c20_dp_uhbr20 from xehpd_c20_dp_tables Bspec: 74165 Signed-off-by: Ravi Kumar Vodapalli Signed-off-by: Balasubramani Vivekanandan Reviewed-by: Matt Roper base.dev); + + if (intel_crtc_has_dp_encoder(crtc_state)) { if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_EDP)) return xe2hpd_c20_edp_tables; + + if (DISPLAY_VER_FULL(i915) == IP_VER(14, 1)) + return xe2hpd_c20_dp_tables; else return mtl_c20_dp_tables; - else if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI)) + + } else if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI)) { return mtl_c20_hdmi_tables; + } MISSING_CASE(encoder->type); return NULL;