From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhenyu Wang Subject: Re: [PATCH v3] drm/i915/gvt: declare gvt as i915's soft dependency Date: Thu, 5 Jul 2018 15:21:49 +0800 Message-ID: <20180705072149.GE1267@zhen-hp.sh.intel.com> References: <1530673665-3561-1-git-send-email-hang.yuan@linux.intel.com> Reply-To: Zhenyu Wang Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1306493769==" Return-path: In-Reply-To: <1530673665-3561-1-git-send-email-hang.yuan@linux.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: "Yuan, Hang" Cc: intel-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============1306493769== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WN2ELtqJJ9aZ3yHj" Content-Disposition: inline --WN2ELtqJJ9aZ3yHj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2018.07.04 11:07:45 +0800, intel-gfx-bounces@lists.freedesktop.org wrote: > From: Hang Yuan >=20 > This helps initramfs builder and other tools to know the full dependencies > of i915 and have gvt module loaded with i915. >=20 > v2: add condition and change to pre-dependency (Chris) > v3: move declaration to gvt.c. (Chris) >=20 > Signed-off-by: Hang Yuan > --- > drivers/gpu/drm/i915/gvt/gvt.c | 7 +++++++ > 1 file changed, 7 insertions(+) >=20 > diff --git a/drivers/gpu/drm/i915/gvt/gvt.c b/drivers/gpu/drm/i915/gvt/gv= t.c > index 4e65266..00f487e9 100644 > --- a/drivers/gpu/drm/i915/gvt/gvt.c > +++ b/drivers/gpu/drm/i915/gvt/gvt.c > @@ -468,3 +468,10 @@ int intel_gvt_init_device(struct drm_i915_private *d= ev_priv) > kfree(gvt); > return ret; > } > + > +#if IS_ENABLED(CONFIG_DRM_I915_GVT_KVMGT) > +MODULE_SOFTDEP("pre: kvmgt"); > +#elif IS_ENABLED(CONFIG_DRM_I915_GVT_XENGT) > +MODULE_SOFTDEP("pre: xengt"); > +#endif > + Why xengt? it's not in upstream at all, so should be splitted and apply to its topic branch only. --=20 Open Source Technology Center, Intel ltd. $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827 --WN2ELtqJJ9aZ3yHj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQTXuabgHDW6LPt9CICxBBozTXgYJwUCWz3HDQAKCRCxBBozTXgY J/8UAJ0X0o6Rfhc+kQpqRjxjpp3mLbw8AACfa/Wdx64qRTEWoLeDBBpGzoKdgmg= =Npjb -----END PGP SIGNATURE----- --WN2ELtqJJ9aZ3yHj-- --===============1306493769== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KSW50ZWwtZ2Z4 IG1haWxpbmcgbGlzdApJbnRlbC1nZnhAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vaW50ZWwtZ2Z4Cg== --===============1306493769==--