* [igt-dev] [PATCH i-g-t] lib/kmod: Unload snd_hdmi_lpe_audio
@ 2018-10-25 10:21 Ville Syrjala
2018-10-25 10:32 ` Daniel Vetter
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Ville Syrjala @ 2018-10-25 10:21 UTC (permalink / raw)
To: igt-dev
From: Ville Syrjälä <ville.syrjala@linux.intel.com>
Unload the snd_hdmi_lpe_audio module. Otherwise i915 can't be unloaded.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
lib/igt_kmod.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/lib/igt_kmod.c b/lib/igt_kmod.c
index b2f4f884b137..22c260210e3d 100644
--- a/lib/igt_kmod.c
+++ b/lib/igt_kmod.c
@@ -333,6 +333,17 @@ igt_i915_driver_unload(void)
}
}
+ if (igt_kmod_is_loaded("snd_hdmi_lpe_audio")) {
+ igt_terminate_process(SIGTERM, "alsactl");
+
+ if (igt_kmod_unload("snd_hdmi_lpe_audio", 0)) {
+ igt_warn("Could not unload snd_hdmi_lpe_audio\n");
+ igt_kmod_list_loaded();
+ igt_lsof("/dev/snd");
+ return IGT_EXIT_FAILURE;
+ }
+ }
+
/* gen5 */
if (igt_kmod_is_loaded("intel_ips"))
igt_kmod_unload("intel_ips", 0);
--
2.18.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [igt-dev] [PATCH i-g-t] lib/kmod: Unload snd_hdmi_lpe_audio
2018-10-25 10:21 [igt-dev] [PATCH i-g-t] lib/kmod: Unload snd_hdmi_lpe_audio Ville Syrjala
@ 2018-10-25 10:32 ` Daniel Vetter
2018-10-26 14:57 ` Ville Syrjälä
2018-10-25 11:19 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2018-10-25 15:51 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2 siblings, 1 reply; 5+ messages in thread
From: Daniel Vetter @ 2018-10-25 10:32 UTC (permalink / raw)
To: Ville Syrjala; +Cc: igt-dev
On Thu, Oct 25, 2018 at 01:21:46PM +0300, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> Unload the snd_hdmi_lpe_audio module. Otherwise i915 can't be unloaded.
>
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> ---
> lib/igt_kmod.c | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/lib/igt_kmod.c b/lib/igt_kmod.c
> index b2f4f884b137..22c260210e3d 100644
> --- a/lib/igt_kmod.c
> +++ b/lib/igt_kmod.c
> @@ -333,6 +333,17 @@ igt_i915_driver_unload(void)
> }
> }
>
> + if (igt_kmod_is_loaded("snd_hdmi_lpe_audio")) {
> + igt_terminate_process(SIGTERM, "alsactl");
> +
> + if (igt_kmod_unload("snd_hdmi_lpe_audio", 0)) {
> + igt_warn("Could not unload snd_hdmi_lpe_audio\n");
> + igt_kmod_list_loaded();
> + igt_lsof("/dev/snd");
> + return IGT_EXIT_FAILURE;
> + }
> + }
> +
> /* gen5 */
> if (igt_kmod_is_loaded("intel_ips"))
> igt_kmod_unload("intel_ips", 0);
> --
> 2.18.1
>
> _______________________________________________
> igt-dev mailing list
> igt-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [igt-dev] [PATCH i-g-t] lib/kmod: Unload snd_hdmi_lpe_audio
2018-10-25 10:32 ` Daniel Vetter
@ 2018-10-26 14:57 ` Ville Syrjälä
0 siblings, 0 replies; 5+ messages in thread
From: Ville Syrjälä @ 2018-10-26 14:57 UTC (permalink / raw)
To: Daniel Vetter; +Cc: igt-dev
On Thu, Oct 25, 2018 at 12:32:50PM +0200, Daniel Vetter wrote:
> On Thu, Oct 25, 2018 at 01:21:46PM +0300, Ville Syrjala wrote:
> > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> >
> > Unload the snd_hdmi_lpe_audio module. Otherwise i915 can't be unloaded.
> >
> > Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Thanks. Pushed.
>
> > ---
> > lib/igt_kmod.c | 11 +++++++++++
> > 1 file changed, 11 insertions(+)
> >
> > diff --git a/lib/igt_kmod.c b/lib/igt_kmod.c
> > index b2f4f884b137..22c260210e3d 100644
> > --- a/lib/igt_kmod.c
> > +++ b/lib/igt_kmod.c
> > @@ -333,6 +333,17 @@ igt_i915_driver_unload(void)
> > }
> > }
> >
> > + if (igt_kmod_is_loaded("snd_hdmi_lpe_audio")) {
> > + igt_terminate_process(SIGTERM, "alsactl");
> > +
> > + if (igt_kmod_unload("snd_hdmi_lpe_audio", 0)) {
> > + igt_warn("Could not unload snd_hdmi_lpe_audio\n");
> > + igt_kmod_list_loaded();
> > + igt_lsof("/dev/snd");
> > + return IGT_EXIT_FAILURE;
> > + }
> > + }
> > +
> > /* gen5 */
> > if (igt_kmod_is_loaded("intel_ips"))
> > igt_kmod_unload("intel_ips", 0);
> > --
> > 2.18.1
> >
> > _______________________________________________
> > igt-dev mailing list
> > igt-dev@lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/igt-dev
>
> --
> Daniel Vetter
> Software Engineer, Intel Corporation
> http://blog.ffwll.ch
--
Ville Syrjälä
Intel
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 5+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for lib/kmod: Unload snd_hdmi_lpe_audio
2018-10-25 10:21 [igt-dev] [PATCH i-g-t] lib/kmod: Unload snd_hdmi_lpe_audio Ville Syrjala
2018-10-25 10:32 ` Daniel Vetter
@ 2018-10-25 11:19 ` Patchwork
2018-10-25 15:51 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2018-10-25 11:19 UTC (permalink / raw)
To: Ville Syrjälä; +Cc: igt-dev
== Series Details ==
Series: lib/kmod: Unload snd_hdmi_lpe_audio
URL : https://patchwork.freedesktop.org/series/51511/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_5033 -> IGTPW_1990 =
== Summary - WARNING ==
Minor unknown changes coming with IGTPW_1990 need to be verified
manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_1990, please notify your bug team to allow them
to document this new failure mode, which will reduce false positives in CI.
External URL: https://patchwork.freedesktop.org/api/1.0/series/51511/revisions/1/mbox/
== Possible new issues ==
Here are the unknown changes that may have been introduced in IGTPW_1990:
=== IGT changes ===
==== Warnings ====
igt@pm_rpm@module-reload:
fi-hsw-4770r: SKIP -> PASS
== Known issues ==
Here are the changes found in IGTPW_1990 that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@drv_module_reload@basic-reload:
fi-glk-j4005: PASS -> DMESG-WARN (fdo#106725, fdo#106248)
igt@kms_flip@basic-flip-vs-wf_vblank:
fi-glk-j4005: PASS -> FAIL (fdo#106724)
igt@kms_frontbuffer_tracking@basic:
fi-byt-clapper: PASS -> FAIL (fdo#103167)
igt@pm_rpm@module-reload:
fi-glk-j4005: PASS -> DMESG-WARN (fdo#107726)
==== Possible fixes ====
igt@drv_module_reload@basic-reload-inject:
fi-hsw-4770r: DMESG-WARN (fdo#107924, fdo#107425) -> PASS
igt@drv_selftest@live_hangcheck:
fi-kbl-7560u: INCOMPLETE (fdo#108044) -> PASS
igt@kms_flip@basic-flip-vs-dpms:
fi-skl-6700hq: DMESG-WARN (fdo#105998) -> PASS
fdo#103167 https://bugs.freedesktop.org/show_bug.cgi?id=103167
fdo#105998 https://bugs.freedesktop.org/show_bug.cgi?id=105998
fdo#106248 https://bugs.freedesktop.org/show_bug.cgi?id=106248
fdo#106724 https://bugs.freedesktop.org/show_bug.cgi?id=106724
fdo#106725 https://bugs.freedesktop.org/show_bug.cgi?id=106725
fdo#107425 https://bugs.freedesktop.org/show_bug.cgi?id=107425
fdo#107726 https://bugs.freedesktop.org/show_bug.cgi?id=107726
fdo#107924 https://bugs.freedesktop.org/show_bug.cgi?id=107924
fdo#108044 https://bugs.freedesktop.org/show_bug.cgi?id=108044
== Participating hosts (47 -> 42) ==
Missing (5): fi-ilk-m540 fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-icl-u
== Build changes ==
* IGT: IGT_4691 -> IGTPW_1990
CI_DRM_5033: f935e4c7634781e6ffef10bb8a1c93225ac42d90 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_1990: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1990/
IGT_4691: d445be01f5edc7e7a324444c73e221c9ed75602e @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1990/issues.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 5+ messages in thread* [igt-dev] ✓ Fi.CI.IGT: success for lib/kmod: Unload snd_hdmi_lpe_audio
2018-10-25 10:21 [igt-dev] [PATCH i-g-t] lib/kmod: Unload snd_hdmi_lpe_audio Ville Syrjala
2018-10-25 10:32 ` Daniel Vetter
2018-10-25 11:19 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
@ 2018-10-25 15:51 ` Patchwork
2 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2018-10-25 15:51 UTC (permalink / raw)
To: Ville Syrjälä; +Cc: igt-dev
== Series Details ==
Series: lib/kmod: Unload snd_hdmi_lpe_audio
URL : https://patchwork.freedesktop.org/series/51511/
State : success
== Summary ==
= CI Bug Log - changes from IGT_4691_full -> IGTPW_1990_full =
== Summary - WARNING ==
Minor unknown changes coming with IGTPW_1990_full need to be verified
manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_1990_full, please notify your bug team to allow them
to document this new failure mode, which will reduce false positives in CI.
External URL: https://patchwork.freedesktop.org/api/1.0/series/51511/revisions/1/mbox/
== Possible new issues ==
Here are the unknown changes that may have been introduced in IGTPW_1990_full:
=== IGT changes ===
==== Warnings ====
igt@pm_rc6_residency@rc6-accuracy:
shard-kbl: PASS -> SKIP +1
igt@vgem_basic@unload:
shard-apl: PASS -> SKIP
== Known issues ==
Here are the changes found in IGTPW_1990_full that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@gem_ctx_isolation@vcs1-s3:
shard-kbl: PASS -> DMESG-WARN (fdo#108549)
igt@gem_eio@wait-immediate:
shard-glk: PASS -> DMESG-WARN (fdo#105763, fdo#106538) +1
igt@gem_pwrite_pread@uncached-pwrite-blt-gtt_mmap-performance:
shard-apl: PASS -> INCOMPLETE (fdo#103927)
igt@kms_available_modes_crc@available_mode_test_crc:
shard-apl: PASS -> FAIL (fdo#106641)
igt@kms_busy@extended-modeset-hang-newfb-with-reset-render-a:
shard-snb: NOTRUN -> INCOMPLETE (fdo#105411)
igt@kms_busy@extended-pageflip-modeset-hang-oldfb-render-a:
shard-snb: NOTRUN -> DMESG-WARN (fdo#107956)
igt@kms_ccs@pipe-a-crc-sprite-planes-basic:
shard-glk: PASS -> FAIL (fdo#108145)
{igt@kms_content_protection@atomic}:
shard-kbl: NOTRUN -> DMESG-FAIL (fdo#108549)
shard-apl: NOTRUN -> DMESG-FAIL (fdo#108549) +1
{igt@kms_content_protection@legacy}:
shard-kbl: NOTRUN -> DMESG-FAIL (fdo#108550)
igt@kms_cursor_crc@cursor-256x256-sliding:
shard-glk: PASS -> FAIL (fdo#103232) +3
igt@kms_cursor_crc@cursor-64x21-onscreen:
shard-kbl: PASS -> FAIL (fdo#103232) +1
shard-apl: PASS -> FAIL (fdo#103232) +1
igt@kms_cursor_crc@cursor-64x64-random:
shard-hsw: PASS -> INCOMPLETE (fdo#103540)
igt@kms_cursor_crc@cursor-64x64-suspend:
shard-apl: PASS -> FAIL (fdo#103232, fdo#103191)
igt@kms_flip@plain-flip-ts-check:
shard-kbl: PASS -> DMESG-WARN (fdo#108550) +11
igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-pwrite:
shard-apl: PASS -> FAIL (fdo#103167) +5
igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-move:
shard-glk: PASS -> FAIL (fdo#103167) +5
igt@kms_plane_multiple@atomic-pipe-a-tiling-x:
shard-apl: PASS -> FAIL (fdo#103166) +4
igt@kms_plane_multiple@atomic-pipe-a-tiling-y:
shard-glk: PASS -> FAIL (fdo#103166)
igt@kms_setmode@basic:
shard-apl: PASS -> FAIL (fdo#99912)
igt@kms_vblank@pipe-a-ts-continuation-suspend:
shard-kbl: PASS -> DMESG-FAIL (fdo#108549)
shard-apl: PASS -> DMESG-FAIL (fdo#108549)
igt@kms_vblank@pipe-c-ts-continuation-dpms-suspend:
shard-apl: PASS -> DMESG-WARN (fdo#103558, fdo#105602) +12
igt@perf@polling:
shard-hsw: PASS -> FAIL (fdo#102252)
igt@pm_rpm@gem-mmap-cpu:
shard-apl: PASS -> DMESG-WARN (fdo#108549) +17
==== Possible fixes ====
igt@gem_exec_await@wide-contexts:
shard-glk: FAIL (fdo#100007) -> PASS
igt@kms_busy@extended-modeset-hang-newfb-with-reset-render-c:
shard-kbl: DMESG-WARN (fdo#107956) -> PASS
igt@kms_busy@extended-modeset-hang-oldfb-with-reset-render-d:
shard-snb: INCOMPLETE (fdo#105411) -> SKIP
igt@kms_cursor_crc@cursor-128x128-sliding:
shard-kbl: FAIL (fdo#103232) -> PASS +1
igt@kms_cursor_crc@cursor-128x128-suspend:
shard-apl: FAIL (fdo#103232, fdo#103191) -> PASS
igt@kms_cursor_crc@cursor-128x42-sliding:
shard-apl: FAIL (fdo#103232) -> PASS +3
igt@kms_cursor_crc@cursor-256x256-random:
shard-glk: FAIL (fdo#103232) -> PASS +7
igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-mmap-gtt:
shard-snb: DMESG-WARN (fdo#107469) -> PASS
igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-move:
shard-kbl: FAIL (fdo#103167) -> PASS +1
shard-apl: FAIL (fdo#103167) -> PASS +2
igt@kms_frontbuffer_tracking@fbc-1p-rte:
shard-kbl: DMESG-WARN (fdo#103558, fdo#105602) -> PASS +1
igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-onoff:
shard-glk: FAIL (fdo#103167) -> PASS +5
igt@kms_plane_alpha_blend@pipe-b-constant-alpha-max:
shard-glk: FAIL (fdo#108145) -> PASS
igt@kms_plane_multiple@atomic-pipe-b-tiling-y:
shard-apl: FAIL (fdo#103166) -> PASS +1
shard-kbl: FAIL (fdo#103166) -> PASS
igt@kms_plane_multiple@atomic-pipe-c-tiling-x:
shard-glk: FAIL (fdo#103166) -> PASS +4
igt@kms_rmfb@rmfb-ioctl:
shard-kbl: DMESG-WARN (fdo#103558, fdo#103313, fdo#105602) -> PASS +6
igt@pm_rpm@system-suspend-execbuf:
shard-kbl: DMESG-WARN (fdo#103313) -> PASS
==== Warnings ====
igt@kms_cursor_crc@cursor-128x128-onscreen:
shard-apl: FAIL (fdo#103232) -> DMESG-WARN (fdo#103558, fdo#105602)
igt@kms_plane_alpha_blend@pipe-b-alpha-basic:
shard-apl: FAIL (fdo#108145) -> DMESG-FAIL (fdo#108145, fdo#108549) +1
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
fdo#100007 https://bugs.freedesktop.org/show_bug.cgi?id=100007
fdo#102252 https://bugs.freedesktop.org/show_bug.cgi?id=102252
fdo#103166 https://bugs.freedesktop.org/show_bug.cgi?id=103166
fdo#103167 https://bugs.freedesktop.org/show_bug.cgi?id=103167
fdo#103191 https://bugs.freedesktop.org/show_bug.cgi?id=103191
fdo#103232 https://bugs.freedesktop.org/show_bug.cgi?id=103232
fdo#103313 https://bugs.freedesktop.org/show_bug.cgi?id=103313
fdo#103540 https://bugs.freedesktop.org/show_bug.cgi?id=103540
fdo#103558 https://bugs.freedesktop.org/show_bug.cgi?id=103558
fdo#103927 https://bugs.freedesktop.org/show_bug.cgi?id=103927
fdo#105411 https://bugs.freedesktop.org/show_bug.cgi?id=105411
fdo#105602 https://bugs.freedesktop.org/show_bug.cgi?id=105602
fdo#105763 https://bugs.freedesktop.org/show_bug.cgi?id=105763
fdo#106538 https://bugs.freedesktop.org/show_bug.cgi?id=106538
fdo#106641 https://bugs.freedesktop.org/show_bug.cgi?id=106641
fdo#107469 https://bugs.freedesktop.org/show_bug.cgi?id=107469
fdo#107956 https://bugs.freedesktop.org/show_bug.cgi?id=107956
fdo#108145 https://bugs.freedesktop.org/show_bug.cgi?id=108145
fdo#108549 https://bugs.freedesktop.org/show_bug.cgi?id=108549
fdo#108550 https://bugs.freedesktop.org/show_bug.cgi?id=108550
fdo#99912 https://bugs.freedesktop.org/show_bug.cgi?id=99912
== Participating hosts (6 -> 5) ==
Missing (1): shard-skl
== Build changes ==
* IGT: IGT_4691 -> IGTPW_1990
* Linux: CI_DRM_5028 -> CI_DRM_5033
CI_DRM_5028: 0d4b0d09075cb5334c622099724d7b3af605bed9 @ git://anongit.freedesktop.org/gfx-ci/linux
CI_DRM_5033: f935e4c7634781e6ffef10bb8a1c93225ac42d90 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_1990: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1990/
IGT_4691: d445be01f5edc7e7a324444c73e221c9ed75602e @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1990/shards.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-10-26 14:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-25 10:21 [igt-dev] [PATCH i-g-t] lib/kmod: Unload snd_hdmi_lpe_audio Ville Syrjala
2018-10-25 10:32 ` Daniel Vetter
2018-10-26 14:57 ` Ville Syrjälä
2018-10-25 11:19 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2018-10-25 15:51 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox