Skip to contentSkip to conversation

drm/i915: declare gvt as i915's soft dependency

PATCH Superseded [email protected] 3 participants 5 messages Jul 3, 2018 – Jul 4, 2018

Subsystems (2)

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 drm/i915: declare gvt as i915's soft dependency

From: Hang Yuan <[email protected]>

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)

---
 drivers/gpu/drm/i915/i915_pci.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/gpu/drm/i915/i915_pci.c +6 -0
index 55543f1..904f0bf 100644
@@ -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
+
 MODULE_AUTHOR("Tungsten Graphics, Inc.");
 MODULE_AUTHOR("Intel Corporation");
 
Signature · 6 lines
2.7.4

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#1 lore raw

Quoting [email protected] (2018-07-03 11:12:51)

Quoted 17 lines

From: Hang Yuan <[email protected]>

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)

---
 drivers/gpu/drm/i915/i915_pci.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/gpu/drm/i915/i915_pci.c +0 -0
index 55543f1..904f0bf 100644

drivers/gpu/drm/i915/i915_pci.c static void __exit i915_exit(void) · line 777

Quoted 8 lines
drivers/gpu/drm/i915/i915_pci.c +5 -0
@@ -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
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

author
#2 lore raw
Quoted 21 lines · Chris Wilson

Quoting [email protected] (2018-07-03 11:12:51)

Quoted 20 lines

From: Hang Yuan <[email protected]>

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)

---
  drivers/gpu/drm/i915/i915_pci.c | 6 ++++++
  1 file changed, 6 insertions(+)
drivers/gpu/drm/i915/i915_pci.c +0 -0
index 55543f1..904f0bf 100644
@@ -770,6 +770,12 @@ static void __exit i915_exit(void)
  module_init(i915_init);
  module_exit(i915_exit);
 
Quoted 8 lines

drivers/gpu/drm/i915/i915_pci.c static void __exit i915_exit(void) · line 777

Quoted 5 lines
drivers/gpu/drm/i915/i915_pci.c +5 -0
+#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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#3 lore raw

✓ Fi.CI.BAT: success for drm/i915: declare gvt as i915's soft dependency

In reply to [email protected]
== Series Details ==

== Series Details ==

Series: drm/i915: declare gvt as i915's soft dependency
URL : https://patchwork.freedesktop.org/series/45821/
State : success

== Summary ==

= CI Bug Log - changes from CI_DRM_4420 -> Patchwork_9506 =

== Summary - SUCCESS ==

No regressions found.

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

== Possible new issues ==

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

=== IGT changes ===

    ==== Warnings ====

    igt@kms_pipe_crc_basic@read-crc-pipe-b:
      {fi-cfl-8109u}:     SKIP -> PASS +36

== Known issues ==

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

=== IGT changes ===

    ==== Issues hit ====

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

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

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

== Participating hosts (44 -> 40) ==

Additional (1): fi-glk-j4005
Missing (5): fi-ctg-p8600 fi-ilk-m540 fi-byt-squawks fi-bsw-cyan fi-hsw-4200u

== Build changes ==

* Linux: CI_DRM_4420 -> Patchwork_9506

CI_DRM_4420: d9596d1a02b553958c684ef2ea0d3e64e8f68efe @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4532: 840d12e2f050b784552197403d6575a57b6e896d @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_9506: b9b4a8fdf1a3d9a70bf63caec84facdc49dac638 @ git://anongit.freedesktop.org/gfx-ci/linux

== Linux commits ==

b9b4a8fdf1a3 drm/i915: declare gvt as i915's soft dependency

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_9506/issues.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#4 lore raw

✓ Fi.CI.IGT: success for drm/i915: declare gvt as i915's soft dependency

In reply to [email protected]
== Series Details ==

== Series Details ==

Series: drm/i915: declare gvt as i915's soft dependency
URL : https://patchwork.freedesktop.org/series/45821/
State : success

== Summary ==

= CI Bug Log - changes from CI_DRM_4420_full -> Patchwork_9506_full =

== Summary - WARNING ==

Minor unknown changes coming with Patchwork_9506_full need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in Patchwork_9506_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_9506_full:

=== IGT changes ===

    ==== Warnings ====

    igt@gem_exec_schedule@deep-blt:
      shard-kbl:          PASS -> SKIP

    igt@gem_mocs_settings@mocs-rc6-vebox:
      shard-kbl:          SKIP -> PASS

== Known issues ==

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

=== IGT changes ===

    ==== Issues hit ====

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

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

    igt@kms_flip@2x-plain-flip-fb-recreate:
      shard-glk:          PASS -> FAIL (fdo#100368)

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

    
    ==== Possible fixes ====

    igt@drv_suspend@shrink:
      shard-kbl:          FAIL (fdo#106886) -> PASS

    igt@kms_cursor_legacy@cursor-vs-flip-atomic-transitions-varying-size:
      shard-hsw:          FAIL (fdo#103355) -> PASS

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

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

    
    ==== Warnings ====

    igt@drv_selftest@live_gtt:
      shard-kbl:          INCOMPLETE (fdo#103665) -> FAIL (fdo#105347)

fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368
fdo#103060 https://bugs.freedesktop.org/show_bug.cgi?id=103060
fdo#103355 https://bugs.freedesktop.org/show_bug.cgi?id=103355
fdo#103665 https://bugs.freedesktop.org/show_bug.cgi?id=103665
fdo#105347 https://bugs.freedesktop.org/show_bug.cgi?id=105347
fdo#105363 https://bugs.freedesktop.org/show_bug.cgi?id=105363
fdo#105454 https://bugs.freedesktop.org/show_bug.cgi?id=105454
fdo#106509 https://bugs.freedesktop.org/show_bug.cgi?id=106509
fdo#106886 https://bugs.freedesktop.org/show_bug.cgi?id=106886
fdo#99912 https://bugs.freedesktop.org/show_bug.cgi?id=99912

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

No changes in participating hosts

== Build changes ==

* Linux: CI_DRM_4420 -> Patchwork_9506

CI_DRM_4420: d9596d1a02b553958c684ef2ea0d3e64e8f68efe @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4532: 840d12e2f050b784552197403d6575a57b6e896d @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_9506: b9b4a8fdf1a3d9a70bf63caec84facdc49dac638 @ 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_9506/shards.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx