All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: add kvmgt as i915's soft dependency
@ 2018-06-22  7:32 hang.yuan
  2018-06-22  7:44 ` Chris Wilson
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: hang.yuan @ 2018-06-22  7:32 UTC (permalink / raw)
  To: intel-gfx, intel-gvt-dev; +Cc: Hang Yuan

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");
-- 
2.7.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] drm/i915: add kvmgt as i915's soft dependency
  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
       [not found]   ` <20180622081802.GB2693@linux.intel.com>
  2018-06-22  7:58 ` ✓ Fi.CI.BAT: success for " Patchwork
  2018-06-22 15:08 ` ✓ Fi.CI.IGT: " Patchwork
  2 siblings, 2 replies; 7+ messages in thread
From: Chris Wilson @ 2018-06-22  7:44 UTC (permalink / raw)
  To: intel-gfx, intel-gvt-dev; +Cc: Hang Yuan

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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 7+ messages in thread

* ✓ Fi.CI.BAT: success for drm/i915: add kvmgt as i915's soft dependency
  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  7:58 ` Patchwork
  2018-06-22 15:08 ` ✓ Fi.CI.IGT: " Patchwork
  2 siblings, 0 replies; 7+ messages in thread
From: Patchwork @ 2018-06-22  7:58 UTC (permalink / raw)
  To: hang.yuan; +Cc: intel-gfx

== Series Details ==

Series: drm/i915: add kvmgt as i915's soft dependency
URL   : https://patchwork.freedesktop.org/series/45227/
State : success

== Summary ==

= CI Bug Log - changes from CI_DRM_4368 -> Patchwork_9395 =

== Summary - SUCCESS ==

  No regressions found.

  External URL: https://patchwork.freedesktop.org/api/1.0/series/45227/revisions/1/mbox/

== Known issues ==

  Here are the changes found in Patchwork_9395 that come from known issues:

  === IGT changes ===

    ==== Issues hit ====

    igt@debugfs_test@read_all_entries:
      fi-snb-2520m:       PASS -> INCOMPLETE (fdo#103713)

    
  fdo#103713 https://bugs.freedesktop.org/show_bug.cgi?id=103713


== Participating hosts (43 -> 37) ==

  Missing    (6): fi-ilk-m540 fi-hsw-4200u fi-glk-dsi fi-bsw-cyan fi-ctg-p8600 fi-kbl-x1275 


== Build changes ==

    * Linux: CI_DRM_4368 -> Patchwork_9395

  CI_DRM_4368: f9f621dc095a8bfd2157fba018ddb542260d8daa @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_4528: 6be300d405de5974b262e8b93a445be4ac618e6a @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  Patchwork_9395: f5ee28a8420d0a00046383a63225bed0c0744d3b @ git://anongit.freedesktop.org/gfx-ci/linux


== Linux commits ==

f5ee28a8420d drm/i915: add kvmgt as i915's soft dependency

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_9395/issues.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] drm/i915: add kvmgt as i915's soft dependency
  2018-06-22  7:44 ` Chris Wilson
@ 2018-06-22  8:33   ` Hang Yuan
  2018-06-22  8:45     ` Hang Yuan
       [not found]   ` <20180622081802.GB2693@linux.intel.com>
  1 sibling, 1 reply; 7+ messages in thread
From: Hang Yuan @ 2018-06-22  8:33 UTC (permalink / raw)
  To: chris, intel-gfx, intel-gvt-dev

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?
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] drm/i915: add kvmgt as i915's soft dependency
  2018-06-22  8:33   ` Hang Yuan
@ 2018-06-22  8:45     ` Hang Yuan
  0 siblings, 0 replies; 7+ messages in thread
From: Hang Yuan @ 2018-06-22  8:45 UTC (permalink / raw)
  To: chris, intel-gfx, intel-gvt-dev

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] drm/i915: add kvmgt as i915's soft dependency
       [not found]     ` <152965688606.11773.12333320932967973493@mail.alporthouse.com>
@ 2018-06-22  8:58       ` Hang Yuan
  0 siblings, 0 replies; 7+ messages in thread
From: Hang Yuan @ 2018-06-22  8:58 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx, intel-gvt-dev

On Fri, Jun 22, 2018 at 09:41:26AM +0100, Chris Wilson wrote:
> Quoting Hang Yuan (2018-06-22 09:18:02)
> > 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 kvmgt and i915. So kvmgt can be loaded after i915 module in initramfs. Do you think it's ok?
> 
> #if IS_ENABLED(CONFIG_DRM_I915_GVT_KVMGT)
>                 /* not in Xen. Try KVMGT */
>                 intel_gvt_host.mpt = try_then_request_module(
>                                 symbol_get(kvmgt_mpt), "kvmgt");
>                 intel_gvt_host.hypervisor_type = INTEL_GVT_HYPERVISOR_KVM;
> #endif
> 
> Does not look all too soft, conditional and a pre-dependency not post.
> Also only required if gvt + gvt-kvmgt is compiled in. Not part of the
> base i915 module.
> -Chris
Thanks for the comments. I will re-consider the implementation.

Regards,
Henry

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 7+ messages in thread

* ✓ Fi.CI.IGT: success for drm/i915: add kvmgt as i915's soft dependency
  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  7:58 ` ✓ Fi.CI.BAT: success for " Patchwork
@ 2018-06-22 15:08 ` Patchwork
  2 siblings, 0 replies; 7+ messages in thread
From: Patchwork @ 2018-06-22 15:08 UTC (permalink / raw)
  To: Hang Yuan; +Cc: intel-gfx

== Series Details ==

Series: drm/i915: add kvmgt as i915's soft dependency
URL   : https://patchwork.freedesktop.org/series/45227/
State : success

== Summary ==

= CI Bug Log - changes from CI_DRM_4368_full -> Patchwork_9395_full =

== Summary - WARNING ==

  Minor unknown changes coming with Patchwork_9395_full need to be verified
  manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in Patchwork_9395_full, please notify your bug team to allow them
  to document this new failure mode, which will reduce false positives in CI.

  

== Possible new issues ==

  Here are the unknown changes that may have been introduced in Patchwork_9395_full:

  === IGT changes ===

    ==== Warnings ====

    igt@gem_mocs_settings@mocs-rc6-ctx-dirty-render:
      shard-kbl:          SKIP -> PASS

    igt@pm_rc6_residency@rc6-accuracy:
      shard-kbl:          PASS -> SKIP

    
== Known issues ==

  Here are the changes found in Patchwork_9395_full that come from known issues:

  === IGT changes ===

    ==== Issues hit ====

    igt@drv_selftest@live_hangcheck:
      shard-glk:          NOTRUN -> DMESG-FAIL (fdo#106560, fdo#106947)

    igt@kms_cursor_legacy@2x-nonblocking-modeset-vs-cursor-atomic:
      shard-glk:          PASS -> FAIL (fdo#105454, fdo#106509)

    igt@kms_rotation_crc@sprite-rotation-180:
      shard-hsw:          PASS -> FAIL (fdo#103925, fdo#104724)

    igt@kms_setmode@basic:
      shard-apl:          PASS -> FAIL (fdo#99912)

    
    ==== Possible fixes ====

    igt@gem_workarounds@suspend-resume-context:
      shard-apl:          FAIL (fdo#103375) -> PASS +1

    igt@kms_flip@2x-flip-vs-expired-vblank-interruptible:
      shard-glk:          FAIL (fdo#105363) -> PASS

    igt@kms_flip@flip-vs-expired-vblank:
      shard-glk:          FAIL (fdo#102887) -> PASS

    igt@kms_flip@modeset-vs-vblank-race-interruptible:
      shard-glk:          FAIL (fdo#103060) -> PASS

    igt@kms_flip@plain-flip-fb-recreate-interruptible:
      shard-glk:          FAIL (fdo#100368) -> PASS +1

    igt@kms_flip_tiling@flip-y-tiled:
      shard-glk:          FAIL (fdo#103822, fdo#104724) -> PASS

    igt@perf_pmu@busy-idle-check-all-rcs0:
      shard-snb:          INCOMPLETE (fdo#105411) -> PASS

    
    ==== Warnings ====

    igt@drv_selftest@live_gtt:
      shard-glk:          INCOMPLETE (k.org#198133, fdo#103359) -> FAIL (fdo#105347)

    
  fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368
  fdo#102887 https://bugs.freedesktop.org/show_bug.cgi?id=102887
  fdo#103060 https://bugs.freedesktop.org/show_bug.cgi?id=103060
  fdo#103359 https://bugs.freedesktop.org/show_bug.cgi?id=103359
  fdo#103375 https://bugs.freedesktop.org/show_bug.cgi?id=103375
  fdo#103822 https://bugs.freedesktop.org/show_bug.cgi?id=103822
  fdo#103925 https://bugs.freedesktop.org/show_bug.cgi?id=103925
  fdo#104724 https://bugs.freedesktop.org/show_bug.cgi?id=104724
  fdo#105347 https://bugs.freedesktop.org/show_bug.cgi?id=105347
  fdo#105363 https://bugs.freedesktop.org/show_bug.cgi?id=105363
  fdo#105411 https://bugs.freedesktop.org/show_bug.cgi?id=105411
  fdo#105454 https://bugs.freedesktop.org/show_bug.cgi?id=105454
  fdo#106509 https://bugs.freedesktop.org/show_bug.cgi?id=106509
  fdo#106560 https://bugs.freedesktop.org/show_bug.cgi?id=106560
  fdo#106947 https://bugs.freedesktop.org/show_bug.cgi?id=106947
  fdo#99912 https://bugs.freedesktop.org/show_bug.cgi?id=99912
  k.org#198133 https://bugzilla.kernel.org/show_bug.cgi?id=198133


== Participating hosts (5 -> 5) ==

  No changes in participating hosts


== Build changes ==

    * Linux: CI_DRM_4368 -> Patchwork_9395

  CI_DRM_4368: f9f621dc095a8bfd2157fba018ddb542260d8daa @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_4528: 6be300d405de5974b262e8b93a445be4ac618e6a @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  Patchwork_9395: f5ee28a8420d0a00046383a63225bed0c0744d3b @ git://anongit.freedesktop.org/gfx-ci/linux
  piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_9395/shards.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-06-22 15:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
     [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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.