[Intel-gfx] [PATCH 2/3] drm/i915/rpl-s: Add PCH ID
Jani Nikula
jani.nikula at linux.intel.com
Mon Nov 15 12:08:54 UTC 2021
On Fri, 12 Nov 2021, Anusha Srivatsa <anusha.srivatsa at intel.com> wrote:
> Add the PCH ID for the same.
The same as what? Please use use commit messages that are
self-contained.
>
> Cc: Swathi Dhanavanthri <swathi.dhanavanthri at intel.com>
> Signed-off-by: Anusha Srivatsa <anusha.srivatsa at intel.com>
> ---
> drivers/gpu/drm/i915/intel_pch.c | 1 +
> drivers/gpu/drm/i915/intel_pch.h | 1 +
> include/drm/i915_pciids.h | 5 ++++-
Were the new PCI IDs supposed to be in the previous patch? If here, why
are they not mentioned in the commit message?
BR,
Jani.
> 3 files changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_pch.c b/drivers/gpu/drm/i915/intel_pch.c
> index d1d4b97b86f5..da8f82c2342f 100644
> --- a/drivers/gpu/drm/i915/intel_pch.c
> +++ b/drivers/gpu/drm/i915/intel_pch.c
> @@ -129,6 +129,7 @@ intel_pch_type(const struct drm_i915_private *dev_priv, unsigned short id)
> return PCH_JSP;
> case INTEL_PCH_ADP_DEVICE_ID_TYPE:
> case INTEL_PCH_ADP2_DEVICE_ID_TYPE:
> + case INTEL_PCH_ADP3_DEVICE_ID_TYPE:
> drm_dbg_kms(&dev_priv->drm, "Found Alder Lake PCH\n");
> drm_WARN_ON(&dev_priv->drm, !IS_ALDERLAKE_S(dev_priv) &&
> !IS_ALDERLAKE_P(dev_priv));
> diff --git a/drivers/gpu/drm/i915/intel_pch.h b/drivers/gpu/drm/i915/intel_pch.h
> index 7c0d83d292dc..6bff77521094 100644
> --- a/drivers/gpu/drm/i915/intel_pch.h
> +++ b/drivers/gpu/drm/i915/intel_pch.h
> @@ -57,6 +57,7 @@ enum intel_pch {
> #define INTEL_PCH_JSP2_DEVICE_ID_TYPE 0x3880
> #define INTEL_PCH_ADP_DEVICE_ID_TYPE 0x7A80
> #define INTEL_PCH_ADP2_DEVICE_ID_TYPE 0x5180
> +#define INTEL_PCH_ADP3_DEVICE_ID_TYPE 0x7A00
> #define INTEL_PCH_P2X_DEVICE_ID_TYPE 0x7100
> #define INTEL_PCH_P3X_DEVICE_ID_TYPE 0x7000
> #define INTEL_PCH_QEMU_DEVICE_ID_TYPE 0x2900 /* qemu q35 has 2918 */
> diff --git a/include/drm/i915_pciids.h b/include/drm/i915_pciids.h
> index 00deb011b74c..0e112f56a9a8 100644
> --- a/include/drm/i915_pciids.h
> +++ b/include/drm/i915_pciids.h
> @@ -675,6 +675,9 @@
> INTEL_VGA_DEVICE(0xA788, info), \
> INTEL_VGA_DEVICE(0xA789, info), \
> INTEL_VGA_DEVICE(0xA78A, info), \
> - INTEL_VGA_DEVICE(0xA78B, info)
> + INTEL_VGA_DEVICE(0xA78B, info), \
> + INTEL_VGA_DEVICE(0x4690, info), \
> + INTEL_VGA_DEVICE(0x4692, info), \
> + INTEL_VGA_DEVICE(0x4693, info)
>
> #endif /* _I915_PCIIDS_H */
--
Jani Nikula, Intel Open Source Graphics Center
More information about the Intel-gfx
mailing list