Re: [PATCH 06/28] drm/i915/tgl: Add TGL PCH detection in virtualized environment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




>-----Original Message-----
>From: Intel-gfx [mailto:intel-gfx-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of
>Lucas De Marchi
>Sent: Tuesday, June 25, 2019 10:54 AM
>To: intel-gfx@xxxxxxxxxxxxxxxxxxxxx
>Cc: Mahesh Kumar <mahesh1.kumar@xxxxxxxxx>; De Marchi, Lucas
><lucas.demarchi@xxxxxxxxx>
>Subject:  [PATCH 06/28] drm/i915/tgl: Add TGL PCH detection in
>virtualized environment
>
>From: Mahesh Kumar <mahesh1.kumar@xxxxxxxxx>
>
>Assume PCH_TGP when platform is TGL.
>
>Cc: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>
>Signed-off-by: Mahesh Kumar <mahesh1.kumar@xxxxxxxxx>
>Signed-off-by: Lucas De Marchi <lucas.demarchi@xxxxxxxxx>

Reviewed-by: Anusha Srivatsa <anusha.srivatsa@xxxxxxxxx>
>---
> drivers/gpu/drm/i915/i915_drv.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
>diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
>index 4c26c7f662ad..1fcfd46702e5 100644
>--- a/drivers/gpu/drm/i915/i915_drv.c
>+++ b/drivers/gpu/drm/i915/i915_drv.c
>@@ -255,7 +255,9 @@ intel_virt_detect_pch(const struct drm_i915_private
>*dev_priv)
> 	 * make an educated guess as to which PCH is really there.
> 	 */
>
>-	if (IS_ELKHARTLAKE(dev_priv))
>+	if (IS_TIGERLAKE(dev_priv))
>+		id = INTEL_PCH_TGP_DEVICE_ID_TYPE;
>+	else if (IS_ELKHARTLAKE(dev_priv))
> 		id = INTEL_PCH_MCC_DEVICE_ID_TYPE;
> 	else if (IS_ICELAKE(dev_priv))
> 		id = INTEL_PCH_ICP_DEVICE_ID_TYPE;
>--
>2.21.0
>
>_______________________________________________
>Intel-gfx mailing list
>Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
>https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux