On Fri, Jun 22, 2018 at 04:33:21PM +0800,
[email protected] wrote:
> On Fri, Jun 22, 2018 at 08:44:50AM +0100, Chris Wilson wrote:
> > Quoting [email protected] (2018-06-22 08:32:57)
> > > From: Hang Yuan <[email protected]>
> > >
> > > This helps kvmgt included in initramfs and got loaded after i915.
> > >
> > > Signed-off-by: Hang Yuan <[email protected]>
> > > ---
> > > drivers/gpu/drm/i915/i915_pci.c | 2 ++
> > > 1 file changed, 2 insertions(+)
> > >
> > > diff --git a/drivers/gpu/drm/i915/i915_pci.c
> > > b/drivers/gpu/drm/i915/i915_pci.c
> > > index 062e91b..a0fb51f 100644
> > > --- a/drivers/gpu/drm/i915/i915_pci.c
> > > +++ b/drivers/gpu/drm/i915/i915_pci.c
> > > @@ -773,3 +773,5 @@ MODULE_AUTHOR("Intel Corporation");
> > >
> > > MODULE_DESCRIPTION(DRIVER_DESC);
> > > MODULE_LICENSE("GPL and additional rights");
> > > +
> > > +MODULE_SOFTDEP("post: kvmgt");
> >
> > The dependency is added by gvt, so what's it doing here?
> > -Chris
> It wants to indicate the soft dependency between i915 and kvmgt. So kvmgt can
> be loaded automatically after i915 module, for example, in initramfs. Do you
> see any problem here?
Sorry I made the field "From" with wrong account in my last email.
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx