Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Hang Yuan <hang.yuan@linux.intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>,
	intel-gfx@lists.freedesktop.org,
	intel-gvt-dev@lists.freedesktop.org
Subject: Re: [PATCH v2] drm/i915: declare gvt as i915's soft dependency
Date: Wed, 4 Jul 2018 10:55:25 +0800	[thread overview]
Message-ID: <2740cda0-5f91-dd25-a47c-1d6147f286d6@linux.intel.com> (raw)
In-Reply-To: <153061365047.15734.16498106514541088696@skylake.alporthouse.com>

On 07/03/2018 06:27 PM, Chris Wilson wrote:
> Quoting hang.yuan@linux.intel.com (2018-07-03 11:12:51)
>> From: Hang Yuan <hang.yuan@linux.intel.com>
>>
>> This helps initramfs builder and other tools to know the full dependencies
>> of i915 and have gvt module loaded with i915.
>>
>> v2: add condition and change to pre-dependency (Chris)
>>
>> Signed-off-by: Hang Yuan <hang.yuan@linux.intel.com>
>> ---
>>   drivers/gpu/drm/i915/i915_pci.c | 6 ++++++
>>   1 file changed, 6 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c
>> index 55543f1..904f0bf 100644
>> --- a/drivers/gpu/drm/i915/i915_pci.c
>> +++ b/drivers/gpu/drm/i915/i915_pci.c
>> @@ -770,6 +770,12 @@ static void __exit i915_exit(void)
>>   module_init(i915_init);
>>   module_exit(i915_exit);
>>   
>> +#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 not in drivers/gpu/drm/i915/gvt/gvt.c?
> -Chris
Henry: I will move it to gvt.c. Thanks.
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2018-07-04  2:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-03 10:12 [PATCH v2] drm/i915: declare gvt as i915's soft dependency hang.yuan
2018-07-03 10:27 ` Chris Wilson
2018-07-04  2:55   ` Hang Yuan [this message]
2018-07-03 10:53 ` ✓ Fi.CI.BAT: success for " Patchwork
2018-07-03 14:27 ` ✓ 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=2740cda0-5f91-dd25-a47c-1d6147f286d6@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