From: "Souza, Jose" Subject: Re: [PATCH 1/2] drm/i915/ehl: Add EHL platform info and PCI IDs Date: Fri, 15 Mar 2019 19:32:22 +0000 Message-ID: <3c849edafa0eb54643d048e00b8e8aa4170d3783.camel@intel.com> References: <20190315191938.22211-1-rodrigo.vivi@intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1425870172==" Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id D08946E442 for ; Fri, 15 Mar 2019 19:32:24 +0000 (UTC) In-Reply-To: <20190315191938.22211-1-rodrigo.vivi@intel.com> Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: "Vivi, Rodrigo" , "intel-gfx@lists.freedesktop.org" Cc: "x86@kernel.org" List-Id: intel-gfx@lists.freedesktop.org --===============1425870172== Content-Language: en-US Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="=-+PrnT5DaaN0hvtnfM7sp" --=-+PrnT5DaaN0hvtnfM7sp Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2019-03-15 at 12:19 -0700, Rodrigo Vivi wrote: > From: James Ausmus >=20 > Add known EHL PCI IDs. >=20 > v2 (Rodrigo): Removed x86 early quirk. To be sent in a separated > patch cc'ing the appropriated list and maintainers for > proper ack. > v3: (Rodrigo): - Removed .num_pipes =3D 3 that is coming since > GEN&_FEATURES. > - Added ppgtt type and size after rework from Bob and > Chris >=20 > Cc: Bob Paauwe > Cc: Chris Wilson > Cc: Jos=C3=A9 Roberto de Souza > Signed-off-by: James Ausmus > Signed-off-by: Rodrigo Vivi > --- > drivers/gpu/drm/i915/i915_pci.c | 10 ++++++++++ > include/drm/i915_pciids.h | 7 +++++++ > 2 files changed, 17 insertions(+) >=20 > diff --git a/drivers/gpu/drm/i915/i915_pci.c > b/drivers/gpu/drm/i915/i915_pci.c > index ef7410c492fd..aa26a2e9a466 100644 > --- a/drivers/gpu/drm/i915/i915_pci.c > +++ b/drivers/gpu/drm/i915/i915_pci.c > @@ -730,6 +730,15 @@ static const struct intel_device_info > intel_icelake_11_info =3D { > BIT(RCS0) | BIT(BCS0) | BIT(VECS0) | BIT(VCS0) | > BIT(VCS2), > }; > =20 > +static const struct intel_device_info intel_elkhartlake_info =3D { > + GEN11_FEATURES, > + PLATFORM(INTEL_ICELAKE), > + .is_alpha_support =3D 1, > + .engine_mask =3D BIT(RCS0) | BIT(BCS0) | BIT(VCS0), > + .ppgtt_type =3D INTEL_PPGTT_FULL, Nit: You don't need to ppgtt_type it will come from GEN8. Other than that: Reviewed-by: Jos=C3=A9 Roberto de Souza > + .ppgtt_size =3D 36, > +}; > + > #undef GEN > #undef PLATFORM > =20 > @@ -797,6 +806,7 @@ static const struct pci_device_id pciidlist[] =3D { > INTEL_WHL_U_GT3_IDS(&intel_coffeelake_gt3_info), > INTEL_CNL_IDS(&intel_cannonlake_info), > INTEL_ICL_11_IDS(&intel_icelake_11_info), > + INTEL_EHL_IDS(&intel_elkhartlake_info), > {0, 0, 0} > }; > MODULE_DEVICE_TABLE(pci, pciidlist); > diff --git a/include/drm/i915_pciids.h b/include/drm/i915_pciids.h > index d200000feeaa..a0e409e9e70d 100644 > --- a/include/drm/i915_pciids.h > +++ b/include/drm/i915_pciids.h > @@ -472,4 +472,11 @@ > INTEL_VGA_DEVICE(0x8A70, info), \ > INTEL_VGA_DEVICE(0x8A53, info) > =20 > +/* EHL */ > +#define INTEL_EHL_IDS(info) \ > + INTEL_VGA_DEVICE(0x4500, info), \ > + INTEL_VGA_DEVICE(0x4571, info), \ > + INTEL_VGA_DEVICE(0x4551, info), \ > + INTEL_VGA_DEVICE(0x4541, info) > + > #endif /* _I915_PCIIDS_H */ --=-+PrnT5DaaN0hvtnfM7sp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEVNG051EijGa0MiaQVenbO/mOWkkFAlyL/cUACgkQVenbO/mO Wkm9oQgAueNCsMr2rAouplV4KND+jR+WuakcW6dm1TmpTfaM7O5JulZ4dH8EW0Wd v1czD/Zq6EVH6810cqjPAGa8B6zMhPsRX2hf40LjvTCPVPhenCD3oagEoYgpZhf4 AC6DG/4nw0GjE/mvFFKMVsRRij1vToZgeD7A3GGz3f7UkuzxhnfpJCFvkX+NKpwG EC1rjGaFxZMHH8qHMsFiQH7Ue19v2uYVa6gynUqXlhx/gbW7xHm0iPNdwRLhZElY 9Wp48f61QTAN4vTr0PyYZGSmT86xe7uHD1ijMrAaENo3DtKr7RXahjGIHIjXf5sC NNAEEQQbA2kLY176wjNwJMUEI8fbDQ== =8p/s -----END PGP SIGNATURE----- --=-+PrnT5DaaN0hvtnfM7sp-- --===============1425870172== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KSW50ZWwtZ2Z4 IG1haWxpbmcgbGlzdApJbnRlbC1nZnhAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vaW50ZWwtZ2Z4 --===============1425870172==--