From: "Pandiyan, Dhinakaran" <dhinakaran.pandiyan@intel.com>
To: "Vivi, Rodrigo" <rodrigo.vivi@intel.com>
Cc: "intel-gfx@lists.freedesktop.org" <intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH 2/5] drm/i915/cfl: Coffee Lake uses CNP PCH.
Date: Wed, 7 Jun 2017 17:40:51 +0000 [thread overview]
Message-ID: <1496858389.32316.4.camel@dk-H97M-D3H> (raw)
In-Reply-To: <1496776802-28759-2-git-send-email-rodrigo.vivi@intel.com>
On Tue, 2017-06-06 at 12:19 -0700, Rodrigo Vivi wrote:
> So let's force it on the virtual detection.
>
> Also it is still the only silicon for now on this PCH,
> so WARN otherwise.
>
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Reviewed-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
> ---
> drivers/gpu/drm/i915/i915_drv.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
> index 6ca99de..ed051a6e 100644
> --- a/drivers/gpu/drm/i915/i915_drv.c
> +++ b/drivers/gpu/drm/i915/i915_drv.c
> @@ -139,6 +139,8 @@ static enum intel_pch intel_virt_detect_pch(struct drm_i915_private *dev_priv)
> } else if (IS_SKYLAKE(dev_priv) || IS_KABYLAKE(dev_priv)) {
> ret = PCH_SPT;
> DRM_DEBUG_KMS("Assuming SunrisePoint PCH\n");
> + } else if (IS_COFFEELAKE(dev_priv)) {
> + ret = PCH_CNP;
nit: You missed the debug logging.
> }
>
> return ret;
> @@ -222,9 +224,11 @@ static void intel_detect_pch(struct drm_i915_private *dev_priv)
> } else if (id == INTEL_PCH_CNP_DEVICE_ID_TYPE) {
> dev_priv->pch_type = PCH_CNP;
> DRM_DEBUG_KMS("Found CannonPoint PCH\n");
> + WARN_ON(!IS_COFFEELAKE(dev_priv));
> } else if (id_ext == INTEL_PCH_CNP_LP_DEVICE_ID_TYPE) {
> dev_priv->pch_type = PCH_CNP;
> DRM_DEBUG_KMS("Found CannonPoint LP PCH\n");
> + WARN_ON(!IS_COFFEELAKE(dev_priv));
> } else if ((id == INTEL_PCH_P2X_DEVICE_ID_TYPE) ||
> (id == INTEL_PCH_P3X_DEVICE_ID_TYPE) ||
> ((id == INTEL_PCH_QEMU_DEVICE_ID_TYPE) &&
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2017-06-07 17:40 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-06 19:19 [PATCH 1/5] drm/i915/cfl: Introduce Coffee Lake platform definition Rodrigo Vivi
2017-06-06 19:19 ` [PATCH 2/5] drm/i915/cfl: Coffee Lake uses CNP PCH Rodrigo Vivi
2017-06-07 17:40 ` Pandiyan, Dhinakaran [this message]
2017-06-06 19:20 ` [PATCH 3/5] drm/i915/cfl: Basic DDI plumbing for Coffee Lake Rodrigo Vivi
2017-06-07 18:04 ` Pandiyan, Dhinakaran
2017-06-07 21:53 ` Vivi, Rodrigo
2017-06-07 22:06 ` Pandiyan, Dhinakaran
2017-06-07 22:14 ` Vivi, Rodrigo
2017-06-06 19:20 ` [PATCH 4/5] drm/i915/cfl: Introduce Display workarounds " Rodrigo Vivi
2017-06-07 18:44 ` Pandiyan, Dhinakaran
2017-06-07 21:52 ` Vivi, Rodrigo
2017-06-07 22:00 ` Pandiyan, Dhinakaran
2017-06-06 19:20 ` [PATCH 5/5] drm/i915/cfl: Introduce Coffee Lake workardounds Rodrigo Vivi
2017-06-07 22:40 ` Pandiyan, Dhinakaran
2017-06-08 14:01 ` Mika Kuoppala
2017-06-06 21:26 ` [PATCH 1/5] drm/i915/cfl: Introduce Coffee Lake platform definition Srivatsa, Anusha
2017-06-07 7:42 ` ✓ Fi.CI.BAT: success for series starting with [1/5] " Patchwork
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=1496858389.32316.4.camel@dk-H97M-D3H \
--to=dhinakaran.pandiyan@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=rodrigo.vivi@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