Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Hang Yuan <hang.yuan@linux.intel.com>
To: chris@chris-wilson.co.uk, intel-gfx@lists.freedesktop.org,
	intel-gvt-dev@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915: add kvmgt as i915's soft dependency
Date: Fri, 22 Jun 2018 16:45:48 +0800	[thread overview]
Message-ID: <20180622084548.GA2970@linux.intel.com> (raw)
In-Reply-To: <20180622083320.GA2926@linux.intel.com>

On Fri, Jun 22, 2018 at 04:33:21PM +0800, intel-gvt-dev-bounces@lists.freedesktop.org wrote:
> On Fri, Jun 22, 2018 at 08:44:50AM +0100, Chris Wilson wrote:
> > Quoting hang.yuan@linux.intel.com (2018-06-22 08:32:57)
> > > From: Hang Yuan <hang.yuan@linux.intel.com>
> > > 
> > > This helps kvmgt included in initramfs and got loaded after i915.
> > > 
> > > Signed-off-by: Hang Yuan <hang.yuan@linux.intel.com>
> > > ---
> > >  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
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2018-06-22  8:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-22  7:32 [PATCH] drm/i915: add kvmgt as i915's soft dependency hang.yuan
2018-06-22  7:44 ` Chris Wilson
2018-06-22  8:33   ` Hang Yuan
2018-06-22  8:45     ` Hang Yuan [this message]
     [not found]   ` <20180622081802.GB2693@linux.intel.com>
     [not found]     ` <152965688606.11773.12333320932967973493@mail.alporthouse.com>
2018-06-22  8:58       ` Hang Yuan
2018-06-22  7:58 ` ✓ Fi.CI.BAT: success for " Patchwork
2018-06-22 15:08 ` ✓ Fi.CI.IGT: " Patchwork

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=20180622084548.GA2970@linux.intel.com \
    --to=hang.yuan@linux.intel.com \
    --cc=chris@chris-wilson.co.uk \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-gvt-dev@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