From: "Garg, Nemesa" <nemesa.garg@intel.com>
To: linux-kernel@vger.kernel.org, gfx-internal-devel@eclists.intel.com
Cc: matthew.d.roper@intel.com, chaitanya.kumar.borah@intel.com,
clinton.a.taylor@intel.com, "Garg,
Nemesa" <nemesa.garg@intel.com>,
Garg@vger.kernel.org
Subject: [PATCH dii-client 2/3] INTEL_DII: drm/i915/arl: ARL false PCH ID
Date: Wed, 1 Mar 2023 16:54:44 +0530 [thread overview]
Message-ID: <20230301112445.2207064-3-nemesa.garg@intel.com> (raw)
In-Reply-To: <20230301112445.2207064-1-nemesa.garg@intel.com>
Add ARL to the fake PCH handler and assign PCH_MTP
Signed-off-by: Garg, Nemesa <nemesa.garg@intel.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
next prev parent reply other threads:[~2023-03-01 11:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-01 11:24 [PATCH dii-client 0/3] Adding Device Ids for ARL-S and ARL-P Garg, Nemesa
2023-03-01 11:24 ` [PATCH dii-client 1/3] drm/pciid : Adding ARL-S and ARL-P PCI/device ids Garg, Nemesa
2023-03-01 11:24 ` Garg, Nemesa [this message]
2023-03-01 11:24 ` [PATCH dii-client 3/3] REVIEW: Full tree diff against origin/dii-client Garg, Nemesa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230301112445.2207064-3-nemesa.garg@intel.com \
--to=nemesa.garg@intel.com \
--cc=Garg@vger.kernel.org \
--cc=chaitanya.kumar.borah@intel.com \
--cc=clinton.a.taylor@intel.com \
--cc=gfx-internal-devel@eclists.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=matthew.d.roper@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®