lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230301112445.2207064-3-nemesa.garg@intel.com>
Date:   Wed,  1 Mar 2023 16:54:44 +0530
From:   "Garg, Nemesa" <nemesa.garg@...el.com>
To:     linux-kernel@...r.kernel.org, gfx-internal-devel@...ists.intel.com
Cc:     matthew.d.roper@...el.com, chaitanya.kumar.borah@...el.com,
        clinton.a.taylor@...el.com, "Garg, Nemesa" <nemesa.garg@...el.com>,
        Garg@...r.kernel.org
Subject: [PATCH dii-client 2/3] INTEL_DII: drm/i915/arl: ARL false PCH ID

Add ARL to the fake PCH handler and assign PCH_MTP

Signed-off-by: Garg, Nemesa <nemesa.garg@...el.com>
---
 drivers/gpu/drm/i915/soc/intel_pch.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/soc/intel_pch.c b/drivers/gpu/drm/i915/soc/intel_pch.c
index ba9843cb1b13..82ac8d978eef 100644
--- a/drivers/gpu/drm/i915/soc/intel_pch.c
+++ b/drivers/gpu/drm/i915/soc/intel_pch.c
@@ -171,7 +171,7 @@ intel_virt_detect_pch(const struct drm_i915_private *dev_priv,
 	 * make an educated guess as to which PCH is really there.
 	 */
 
-	if (IS_METEORLAKE(dev_priv))
+	if (IS_METEORLAKE(dev_priv) || IS_ARROWLAKE_P(dev_priv))
 		id = INTEL_PCH_MTP_DEVICE_ID_TYPE;
 	else if (IS_ALDERLAKE_S(dev_priv) || IS_ALDERLAKE_P(dev_priv))
 		id = INTEL_PCH_ADP_DEVICE_ID_TYPE;
@@ -223,7 +223,9 @@ void intel_detect_pch(struct drm_i915_private *dev_priv)
 	} else if (IS_DG2(dev_priv)) {
 		dev_priv->pch_type = PCH_DG2;
 		return;
-	}
+	} else if (IS_ARROWLAKE_P(dev_priv)) {
+		dev_priv->pch_type = PCH_MTP;
+		return;
 
 	/*
 	 * The reason to probe ISA bridge instead of Dev31:Fun0 is to

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ