From: Daniel Vetter <daniel@ffwll.ch>
To: "Kay, Allen M" <allen.m.kay@intel.com>
Cc: "intel-gfx@lists.freedesktop.org" <intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH] drm/i915: add another virtual PCH bridge for passthrough support
Date: Mon, 21 Mar 2016 10:14:49 +0100 [thread overview]
Message-ID: <20160321091449.GE28483@phenom.ffwll.local> (raw)
In-Reply-To: <003AAFE53969E14CB1F09B6FD68C3CD47BBCD800@ORSMSX106.amr.corp.intel.com>
On Wed, Mar 16, 2016 at 09:17:57PM +0000, Kay, Allen M wrote:
>
> This patch is require for running i915 in a VM in universal passthrough (UPT) mode on some systems. UPT mode allows IGD to be passed through to a VM without hypervisor quirks.
>
> Reviewed-by: Allen Kay <allen.m.kay@intel.com>
Queued for -next, thanks for the patch.
-Daniel
>
> > -----Original Message-----
> > From: Jesse Barnes [mailto:jbarnes@virtuousgeek.org]
> > Sent: Wednesday, March 16, 2016 1:32 PM
> > To: intel-gfx@lists.freedesktop.org
> > Cc: Kay, Allen M <allen.m.kay@intel.com>
> > Subject: [PATCH] drm/i915: add another virtual PCH bridge for passthrough
> > support
> >
> > Some configs use the P2X type but some use a P3X type PCH, so add that to
> > the detect_pch function so things work correctly.
> >
> > Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
> > ---
> > drivers/gpu/drm/i915/i915_drv.c | 1 +
> > drivers/gpu/drm/i915/i915_drv.h | 1 +
> > 2 files changed, 2 insertions(+)
> >
> > diff --git a/drivers/gpu/drm/i915/i915_drv.c
> > b/drivers/gpu/drm/i915/i915_drv.c index 20e8200..6ad4390 100644
> > --- a/drivers/gpu/drm/i915/i915_drv.c
> > +++ b/drivers/gpu/drm/i915/i915_drv.c
> > @@ -504,6 +504,7 @@ void intel_detect_pch(struct drm_device *dev)
> > WARN_ON(!IS_SKYLAKE(dev) &&
> > !IS_KABYLAKE(dev));
> > } else if ((id == INTEL_PCH_P2X_DEVICE_ID_TYPE) ||
> > + (id == INTEL_PCH_P3X_DEVICE_ID_TYPE) ||
> > ((id ==
> > INTEL_PCH_QEMU_DEVICE_ID_TYPE) &&
> > pch->subsystem_vendor == 0x1af4 &&
> > pch->subsystem_device == 0x1100)) { diff -
> > -git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
> > index 9e76bfc..e53cd42 100644
> > --- a/drivers/gpu/drm/i915/i915_drv.h
> > +++ b/drivers/gpu/drm/i915/i915_drv.h
> > @@ -2695,6 +2695,7 @@ struct drm_i915_cmd_table {
> > #define INTEL_PCH_SPT_DEVICE_ID_TYPE 0xA100
> > #define INTEL_PCH_SPT_LP_DEVICE_ID_TYPE 0x9D00
> > #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 */
> >
> > #define INTEL_PCH_TYPE(dev) (__I915__(dev)->pch_type)
> > --
> > 1.9.1
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2016-03-21 9:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-16 20:31 [PATCH] drm/i915: add another virtual PCH bridge for passthrough support Jesse Barnes
2016-03-16 21:17 ` Kay, Allen M
2016-03-21 9:14 ` Daniel Vetter [this message]
2016-03-17 12:31 ` ✗ Fi.CI.BAT: warning for " Patchwork
2016-03-17 13:57 ` Jesse Barnes
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=20160321091449.GE28483@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--cc=allen.m.kay@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/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