From patchwork Wed Oct 5 00:25:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sripada, Radhakrishna" X-Patchwork-Id: 12998795 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 36043C433FE for ; Wed, 5 Oct 2022 00:26:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A92EF10E40D; Wed, 5 Oct 2022 00:26:30 +0000 (UTC) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0D17510E40D; Wed, 5 Oct 2022 00:26:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1664929586; x=1696465586; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=FqLtMk27FHWf8jxUtfH3dcOGSxJpeBEAqaxV+Jvsvrs=; b=fNj3uAtAgdFMNUcYxU3RL3kHTxuTw2nd2v9AMP7VMtynd9zig450BosI l850dged5ck2ZGpym2O2ZlgDRV6RAo/Rvj2iYUs9gUyuQRlYcM4x6JGyl xDAdJyEyIjH6dlAAhT0FAdRh73RjF27lPoruvavwOCNPbHupecYQsn+7J nfU1wSLke8um/S7Rzy1FJt33BSTHgP50rDTWx9iNj3izjoEgsSreb31HS CvCjJohCLdxEulyF8/TVItJo5oVMCkxoTh6tqv7vU2mmlFXezWYEnL0Tf BoQeUjhmkMeiDb/46TuxtGdFkcX1fkTcHR943IGBP1RHaWh2FhumqmN7a g==; X-IronPort-AV: E=McAfee;i="6500,9779,10490"; a="301779902" X-IronPort-AV: E=Sophos;i="5.95,159,1661842800"; d="scan'208";a="301779902" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2022 17:26:17 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10490"; a="619317043" X-IronPort-AV: E=Sophos;i="5.95,159,1661842800"; d="scan'208";a="619317043" Received: from invictus.jf.intel.com ([10.165.21.201]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2022 17:26:16 -0700 From: Radhakrishna Sripada To: intel-gfx@lists.freedesktop.org Subject: [PATCH] drm/i915/mtl: Add MTP ddc pin configuration Date: Tue, 4 Oct 2022 17:25:34 -0700 Message-Id: <20221005002534.2966978-1-radhakrishna.sripada@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lucas De Marchi , dri-devel@lists.freedesktop.org, Radhakrishna Sripada Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Meteorlake PCH reuses Alderlake ddc pin mapping. Extend ADL-P pin mapping for Meteorlake. Cc: Lucas De Marchi Signed-off-by: Radhakrishna Sripada --- drivers/gpu/drm/i915/display/intel_bios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/display/intel_bios.c b/drivers/gpu/drm/i915/display/intel_bios.c index 4c543e8205ca..c2987f2c2b2e 100644 --- a/drivers/gpu/drm/i915/display/intel_bios.c +++ b/drivers/gpu/drm/i915/display/intel_bios.c @@ -2188,7 +2188,7 @@ static u8 map_ddc_pin(struct drm_i915_private *i915, u8 vbt_pin) const u8 *ddc_pin_map; int n_entries; - if (IS_ALDERLAKE_P(i915)) { + if (HAS_PCH_MTP(i915) || IS_ALDERLAKE_P(i915)) { ddc_pin_map = adlp_ddc_pin_map; n_entries = ARRAY_SIZE(adlp_ddc_pin_map); } else if (IS_ALDERLAKE_S(i915)) {