From: Zhenyu Wang Subject: Re: [PATCH v4] drm/i915/gvt: declare gvt as i915's soft dependency Date: Tue, 10 Jul 2018 11:09:05 +0800 Message-ID: <20180710030905.GS1267@zhen-hp.sh.intel.com> References: <1531131850-15539-1-git-send-email-hang.yuan@linux.intel.com> Reply-To: Zhenyu Wang Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1833508818==" Return-path: In-Reply-To: <1531131850-15539-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: intel-gvt-dev-bounces@lists.freedesktop.org Cc: Hang Yuan , intel-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============1833508818== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xGZLEhdrcEmdnWHc" Content-Disposition: inline --xGZLEhdrcEmdnWHc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2018.07.09 18:24:10 +0800, intel-gvt-dev-bounces@lists.freedesktop.org w= rote: > 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) > v4: remove xengt (Zhenyu) >=20 > Signed-off-by: Hang Yuan > Reviewed-by: Chris Wilson > --- > drivers/gpu/drm/i915/gvt/gvt.c | 4 ++++ > 1 file changed, 4 insertions(+) >=20 > diff --git a/drivers/gpu/drm/i915/gvt/gvt.c b/drivers/gpu/drm/i915/gvt/gv= t.c > index 4e65266..712f9d1 100644 > --- a/drivers/gpu/drm/i915/gvt/gvt.c > +++ b/drivers/gpu/drm/i915/gvt/gvt.c > @@ -468,3 +468,7 @@ int intel_gvt_init_device(struct drm_i915_private *de= v_priv) > kfree(gvt); > return ret; > } > + > +#if IS_ENABLED(CONFIG_DRM_I915_GVT_KVMGT) > +MODULE_SOFTDEP("pre: kvmgt"); > +#endif > --=20 Applied this, thanks! btw pls fix your mail client or git config with correct From field. --=20 Open Source Technology Center, Intel ltd. $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827 --xGZLEhdrcEmdnWHc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQTXuabgHDW6LPt9CICxBBozTXgYJwUCW0QjUQAKCRCxBBozTXgY J7tIAKCFzVPbpWc6etLocX2Y3tOsD5jJNACeNe0b4j2oYqGaY8Oos4i74VXPH7k= =csLa -----END PGP SIGNATURE----- --xGZLEhdrcEmdnWHc-- --===============1833508818== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KSW50ZWwtZ2Z4 IG1haWxpbmcgbGlzdApJbnRlbC1nZnhAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vaW50ZWwtZ2Z4Cg== --===============1833508818==--