tests/amdgpu: Add amdgpu module reload test
Subsystems (2)
PATCH v2 1/1 tests/amdgpu: Add amdgpu module reload test
From: Victor Lu <[email protected]>
Test to ensure unloading and loading of amdgpu driver works
Tested on:
ASIC: NAVI14
Changes since v1:
* Added documentaion
* Updated commit message
--- lib/igt_kmod.c | 59 ++++++++++++++++++++++++ lib/igt_kmod.h | 3 ++ tests/amdgpu/amd_module_load.c | 83 ++++++++++++++++++++++++++++++++++ tests/amdgpu/meson.build | 1 + 4 files changed, 146 insertions(+) create mode 100644 tests/amdgpu/amd_module_load.c
lib/igt_kmod.c +59 -0
@@ -433,6 +433,65 @@ igt_i915_driver_unload(void)return IGT_EXIT_SUCCESS ; } +/** +* igt_amdgpu_driver_load: +* @opts: options to pass to amdgpu driver +* +* Returns: IGT_EXIT_SUCCESS or IGT_EXIT_FAILURE. +* +* Loads the amdgpu driver and its dependencies. +* +*/ +int +igt_amdgpu_driver_load (const char *opts) +{ +if (opts) +igt_info ("Reloading amdgpu with %s\n\n" , opts); + +if (igt_kmod_load ("amdgpu" , opts)) { +igt_warn ("Could not load amdgpu\n" ); +return IGT_EXIT_FAILURE ; + } + +bind_fbcon (true); + +return IGT_EXIT_SUCCESS ; +} + +/** +* igt_amdgpu_driver_unload: +* +* Returns: IGT_EXIT_SUCCESS on success, IGT_EXIT_FAILURE on failure +* and IGT_EXIT_SKIP if amdgpu could not be unloaded. +* +* Unloads the amdgpu driver and its dependencies. +* +*/ +int +igt_amdgpu_driver_unload (void ) +{ +bind_fbcon (false); + +if (igt_kmod_is_loaded ("amdgpu" )) { +if (igt_kmod_unload ("amdgpu" ,0 )) { +igt_warn ("Could not unload amdgpu\n" ); +igt_kmod_list_loaded (); +igt_lsof ("/dev/dri" ); +return IGT_EXIT_SKIP ; + } + } + +igt_kmod_unload ("drm_kms_helper" ,0 ); +igt_kmod_unload ("drm" ,0 ); + +if (igt_kmod_is_loaded ("amdgpu" )) { +igt_warn ("amdgpu.ko still loaded!\n" ); +return IGT_EXIT_FAILURE ; + } + +return IGT_EXIT_SUCCESS ; +} +static void kmsg_dump (int fd) {char record[4096 +1 ];
lib/igt_kmod.h +3 -0
@@ -39,6 +39,9 @@ int igt_kmod_unload(const char *mod_name, unsigned int flags);int igt_i915_driver_load (const char *opts);int igt_i915_driver_unload (void ); +int igt_amdgpu_driver_load (const char *opts); +int igt_amdgpu_driver_unload (void ); + void igt_kselftests(const char *module_name, const char *module_options, const char *result_option,
tests/amdgpu/amd_module_load.c new file +83 -0
83 lines not on this page · raw message
tests/amdgpu/meson.build +1 -0
@@ -9,6 +9,7 @@ if libdrm_amdgpu.found() 'amd_cs_nop', 'amd_info', 'amd_prime', + 'amd_module_load', ] amdgpu_deps += libdrm_amdgpu endif
Signature · 6 lines
2.25.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Quoted 187 lines · Anson Jacob
From: Victor Lu <[email protected]>
Test to ensure unloading and loading of amdgpu driver works
Tested on:
ASIC: NAVI14Changes since v1:
* Added documentaion
* Updated commit messageSigned-off-by Victor Lu <[email protected]>Co-developed-by Anson Jacob <[email protected]>Cc Petri Latvala <[email protected]>Cc Rodrigo Siqueira <[email protected]>Cc Harry Wentland <[email protected]>Cc Mark Yacoub <[email protected]>--- lib/igt_kmod.c | 59 ++++++++++++++++++++++++ lib/igt_kmod.h | 3 ++ tests/amdgpu/amd_module_load.c | 83 ++++++++++++++++++++++++++++++++++ tests/amdgpu/meson.build | 1 + 4 files changed, 146 insertions(+) create mode 100644 tests/amdgpu/amd_module_load.clib/igt_kmod.c +59
-0@@ -433,6 +433,65 @@ igt_i915_driver_unload(void)return IGT_EXIT_SUCCESS ; } +/** +* igt_amdgpu_driver_load: +* @opts: options to pass to amdgpu driver +* +* Returns: IGT_EXIT_SUCCESS or IGT_EXIT_FAILURE. +* +* Loads the amdgpu driver and its dependencies. +* +*/ +int +igt_amdgpu_driver_load (const char *opts) +{ +if (opts) +igt_info ("Reloading amdgpu with %s\n\n" , opts); + +if (igt_kmod_load ("amdgpu" , opts)) { +igt_warn ("Could not load amdgpu\n" ); +return IGT_EXIT_FAILURE ; + } + +bind_fbcon (true); + +return IGT_EXIT_SUCCESS ; +} + +/** +* igt_amdgpu_driver_unload: +* +* Returns: IGT_EXIT_SUCCESS on success, IGT_EXIT_FAILURE on failure +* and IGT_EXIT_SKIP if amdgpu could not be unloaded. +* +* Unloads the amdgpu driver and its dependencies. +* +*/ +int +igt_amdgpu_driver_unload (void ) +{ +bind_fbcon (false); + +if (igt_kmod_is_loaded ("amdgpu" )) { +if (igt_kmod_unload ("amdgpu" ,0 )) { +igt_warn ("Could not unload amdgpu\n" ); +igt_kmod_list_loaded (); +igt_lsof ("/dev/dri" ); +return IGT_EXIT_SKIP ; + } + } + +igt_kmod_unload ("drm_kms_helper" ,0 ); +igt_kmod_unload ("drm" ,0 ); + +if (igt_kmod_is_loaded ("amdgpu" )) { +igt_warn ("amdgpu.ko still loaded!\n" ); +return IGT_EXIT_FAILURE ; + } + +return IGT_EXIT_SUCCESS ; +} +static void kmsg_dump (int fd) {char record[4096 +1 ];lib/igt_kmod.h +3
-0@@ -39,6 +39,9 @@ int igt_kmod_unload(const char *mod_name, unsigned int flags);int igt_i915_driver_load (const char *opts);int igt_i915_driver_unload (void ); +int igt_amdgpu_driver_load (const char *opts); +int igt_amdgpu_driver_unload (void ); + void igt_kselftests(const char *module_name, const char *module_options, const char *result_option,tests/amdgpu/amd_module_load.c new file +72
-0@@ -0,0 +1,83 @@ +/* +* Copyright 2021 Advanced Micro Devices, Inc. +* +* Permission is hereby granted, free of charge, to any person obtaining a +* copy of this software and associated documentation files (the "Software"), +* to deal in the Software without restriction, including without limitation +* the rights to use, copy, modify, merge, publish, distribute, sublicense, +* and/or sell copies of the Software, and to permit persons to whom the +* Software is furnished to do so, subject to the following conditions: +* +* The above copyright notice and this permission notice shall be included in +* all copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR +* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +* OTHER DEALINGS IN THE SOFTWARE. +* +*/ + +#include "igt.h" +#include "igt_kmod.h" + +#include <amdgpu.h> +#include <amdgpu_drm.h> +#include <sys/ioctl.h> + +/** +* sanity_check: +* +* Ensures the driver is able to respond to DRM_IOCTL_AMDGPU_INFO ioctl +* with a timeout. +* +*/ +static void sanity_check (void ) +{ +int err =0 ; +int fd; +int arg_ret; +struct drm_amdgpu_info args = {0 }; + + args.return_pointer = (uintptr_t ) &arg_ret; + args.return_size =sizeof (int ); + args.query =AMDGPU_INFO_HW_IP_INFO ; + args.query_hw_ip.type =AMDGPU_HW_IP_COMPUTE ; + + fd =drm_open_driver (DRIVER_AMDGPU ); +igt_set_timeout (1 ,"Module reload timeout!" ); + +if (ioctl (fd,DRM_IOCTL_AMDGPU_INFO , &args) <0 ) + err = -errno; + +igt_set_timeout (0 ,NULL ); +close (fd); + +igt_assert_eq (err,0 ); +} + +igt_main +{ +igt_describe ("Make sure reloading amdgpu drivers works" ); + igt_subtest("reload") { +int err; +igt_amdgpu_driver_unload (); + + err =igt_amdgpu_driver_load (NULL ); + +igt_assert_eq (err,0 ); +
tests/amdgpu/amd_module_load.c line 82
Quoted 10 lines
tests/amdgpu/amd_module_load.c new file +10
-0+sanity_check (); + +igt_amdgpu_driver_unload (); + } + + igt_fixture + { +/* load the module back in */ +igt_amdgpu_driver_load (NULL ); + }
For i915 we have the convention that tests must either leave the driver loaded with default params, or leave it unloaded. Most of i915_driver_load tests leave the module unloaded to avoid the extra roundtrip of load-unload if running multiple driver-loading tests back-to-back. Lockdep especially doesn't quite like reloading too many times.
Not an objection, just a comment to maybe consider in the future.
My earlier comments are addressed so
on that front. I'll leave it to amdgpu guys to review the test itself.
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for tests/amdgpu: Add amdgpu module reload test
In reply to Anson Jacob== Series Details ==
== Series Details ==
Series: tests/amdgpu: Add amdgpu module reload test
URL : https://patchwork.freedesktop.org/series/91577/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_10230 -> IGTPW_5931
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/index.html
Known issues
------------
Here are the changes found in IGTPW_5931 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@amdgpu/amd_basic@cs-gfx:
- fi-kbl-soraka: NOTRUN -> [SKIP][1] ([fdo#109271]) +7 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/fi-kbl-soraka/igt@amdgpu/[email protected]
* igt@i915_selftest@live@hangcheck:
- fi-icl-y: [PASS][2] -> [INCOMPLETE][3] ([i915#2782])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/fi-icl-y/igt@i915_selftest@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/fi-icl-y/igt@i915_selftest@[email protected]
* igt@runner@aborted:
- fi-icl-y: NOTRUN -> [FAIL][4] ([i915#2782])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/fi-icl-y/igt@[email protected]
#### Possible fixes ####
* igt@dmabuf@all@dma_fence:
- fi-pnv-d510: [FAIL][5] -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/fi-pnv-d510/igt@dmabuf@all@dma_fence.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/fi-pnv-d510/igt@dmabuf@all@dma_fence.html
* igt@i915_selftest@live@hangcheck:
- {fi-hsw-gt1}: [DMESG-WARN][7] ([i915#3303]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/fi-hsw-gt1/igt@i915_selftest@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/fi-hsw-gt1/igt@i915_selftest@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#2782]: https://gitlab.freedesktop.org/drm/intel/issues/2782
[i915#3303]: https://gitlab.freedesktop.org/drm/intel/issues/3303
Participating hosts (43 -> 36)
------------------------------
Missing (7): fi-ilk-m540 fi-hsw-4200u fi-bsw-cyan fi-ilk-650 fi-ctg-p8600 fi-dg1-1 fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_6109 -> IGTPW_5931
CI-20190529: 20190529
CI_DRM_10230: 03937139a4149d1cb76e7677e5da15bc414d56dc @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5931: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/index.html
IGT_6109: 61ba2ed489540e6a8a649be38abb075b3ab4d28a @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Testlist changes ==
+igt@amdgpu/amd_module_load@reload
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.IGT: success for tests/amdgpu: Add amdgpu module reload test
In reply to Anson Jacob== Series Details ==
== Series Details ==
Series: tests/amdgpu: Add amdgpu module reload test
URL : https://patchwork.freedesktop.org/series/91577/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_10230_full -> IGTPW_5931_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/index.html
Known issues
------------
Here are the changes found in IGTPW_5931_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@api_intel_bb@blit-noreloc-purge-cache-random:
- shard-snb: NOTRUN -> [SKIP][1] ([fdo#109271]) +361 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-snb5/igt@[email protected]
* igt@feature_discovery@display-2x:
- shard-tglb: NOTRUN -> [SKIP][2] ([i915#1839])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb6/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][3] ([i915#1839])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb6/igt@[email protected]
* igt@gem_create@create-clear:
- shard-glk: [PASS][4] -> [FAIL][5] ([i915#1888] / [i915#3160])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-glk3/igt@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-glk5/igt@[email protected]
* igt@gem_ctx_isolation@preservation-s3@bcs0:
- shard-apl: NOTRUN -> [DMESG-WARN][6] ([i915#180]) +1 similar issue
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-apl8/igt@gem_ctx_isolation@[email protected]
* igt@gem_ctx_param@set-priority-not-supported:
- shard-tglb: NOTRUN -> [SKIP][7] ([fdo#109314])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb6/igt@[email protected]
* igt@gem_ctx_persistence@legacy-engines-mixed-process:
- shard-snb: NOTRUN -> [SKIP][8] ([fdo#109271] / [i915#1099]) +2 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-snb7/igt@[email protected]
* igt@gem_eio@unwedge-stress:
- shard-tglb: [PASS][9] -> [TIMEOUT][10] ([i915#2369] / [i915#3063])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-tglb1/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb2/igt@[email protected]
* igt@gem_exec_fair@basic-deadline:
- shard-glk: [PASS][11] -> [FAIL][12] ([i915#2846])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-glk2/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-glk4/igt@[email protected]
* igt@gem_exec_fair@basic-flow@rcs0:
- shard-tglb: [PASS][13] -> [FAIL][14] ([i915#2842])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-tglb3/igt@gem_exec_fair@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb8/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none-rrul@rcs0:
- shard-glk: [PASS][15] -> [FAIL][16] ([i915#2842]) +1 similar issue
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-glk5/igt@gem_exec_fair@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-glk9/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-apl: [PASS][17] -> [SKIP][18] ([fdo#109271])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-apl7/igt@gem_exec_fair@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-apl2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vcs1:
- shard-iclb: NOTRUN -> [FAIL][19] ([i915#2842])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_reloc@basic-wide-active@bcs0:
- shard-apl: NOTRUN -> [FAIL][20] ([i915#2389]) +3 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-apl6/igt@gem_exec_reloc@[email protected]
* igt@gem_exec_whisper@basic-fds-forked-all:
- shard-iclb: [PASS][21] -> [INCOMPLETE][22] ([i915#1895])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-iclb6/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb8/igt@[email protected]
* igt@gem_mmap_gtt@cpuset-medium-copy:
- shard-iclb: [PASS][23] -> [FAIL][24] ([i915#2428])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-iclb5/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb7/igt@[email protected]
* igt@gem_pwrite@basic-exhaustion:
- shard-kbl: NOTRUN -> [WARN][25] ([i915#2658])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-kbl3/igt@[email protected]
- shard-apl: NOTRUN -> [WARN][26] ([i915#2658])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-apl3/igt@[email protected]
- shard-tglb: NOTRUN -> [WARN][27] ([i915#2658])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb7/igt@[email protected]
* igt@gem_render_copy@yf-tiled-to-vebox-yf-tiled:
- shard-iclb: NOTRUN -> [SKIP][28] ([i915#768])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb6/igt@[email protected]
* igt@gem_userptr_blits@readonly-unsync:
- shard-tglb: NOTRUN -> [SKIP][29] ([i915#3297])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb7/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][30] ([i915#3297])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb6/igt@[email protected]
* igt@gem_userptr_blits@vma-merge:
- shard-snb: NOTRUN -> [FAIL][31] ([i915#2724])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-snb5/igt@[email protected]
* igt@gen7_exec_parse@cmd-crossing-page:
- shard-tglb: NOTRUN -> [SKIP][32] ([fdo#109289])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb7/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][33] ([fdo#109289])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb3/igt@[email protected]
* igt@gen9_exec_parse@batch-without-end:
- shard-iclb: NOTRUN -> [SKIP][34] ([fdo#112306])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb1/igt@[email protected]
* igt@gen9_exec_parse@unaligned-jump:
- shard-tglb: NOTRUN -> [SKIP][35] ([fdo#112306]) +1 similar issue
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb3/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- shard-iclb: [PASS][36] -> [FAIL][37] ([i915#454])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-iclb5/igt@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb4/igt@[email protected]
* igt@i915_query@query-topology-known-pci-ids:
- shard-tglb: NOTRUN -> [SKIP][38] ([fdo#109303])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb6/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][39] ([fdo#109303])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb6/igt@[email protected]
* igt@kms_big_fb@linear-64bpp-rotate-90:
- shard-iclb: NOTRUN -> [SKIP][40] ([fdo#110725] / [fdo#111614])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb8/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][41] ([fdo#111614]) +1 similar issue
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb8/igt@[email protected]
* igt@kms_big_fb@yf-tiled-64bpp-rotate-0:
- shard-iclb: NOTRUN -> [SKIP][42] ([fdo#110723])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb4/igt@[email protected]
* igt@kms_big_fb@yf-tiled-addfb-size-overflow:
- shard-tglb: NOTRUN -> [SKIP][43] ([fdo#111615]) +2 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb7/igt@[email protected]
* igt@kms_chamelium@vga-hpd:
- shard-apl: NOTRUN -> [SKIP][44] ([fdo#109271] / [fdo#111827]) +18 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-apl7/igt@[email protected]
* igt@kms_color_chamelium@pipe-b-ctm-0-25:
- shard-kbl: NOTRUN -> [SKIP][45] ([fdo#109271] / [fdo#111827]) +10 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-kbl6/igt@[email protected]
* igt@kms_color_chamelium@pipe-b-ctm-0-5:
- shard-tglb: NOTRUN -> [SKIP][46] ([fdo#109284] / [fdo#111827]) +8 similar issues
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb8/igt@[email protected]
* igt@kms_color_chamelium@pipe-c-gamma:
- shard-iclb: NOTRUN -> [SKIP][47] ([fdo#109284] / [fdo#111827]) +3 similar issues
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb5/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][48] ([fdo#109271] / [fdo#111827]) +4 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-glk1/igt@[email protected]
* igt@kms_color_chamelium@pipe-d-ctm-0-5:
- shard-snb: NOTRUN -> [SKIP][49] ([fdo#109271] / [fdo#111827]) +20 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-snb7/igt@[email protected]
* igt@kms_content_protection@atomic-dpms:
- shard-tglb: NOTRUN -> [SKIP][50] ([fdo#111828])
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb8/igt@[email protected]
- shard-kbl: NOTRUN -> [TIMEOUT][51] ([i915#1319])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-kbl2/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][52] ([fdo#109300] / [fdo#111066])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb7/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-32x10-offscreen:
- shard-tglb: NOTRUN -> [SKIP][53] ([i915#3359]) +1 similar issue
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb3/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-512x512-offscreen:
- shard-iclb: NOTRUN -> [SKIP][54] ([fdo#109278] / [fdo#109279])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb2/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-suspend:
- shard-kbl: [PASS][55] -> [DMESG-WARN][56] ([i915#180]) +4 similar issues
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-kbl7/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-kbl1/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-32x10-offscreen:
- shard-iclb: NOTRUN -> [SKIP][57] ([fdo#109278]) +3 similar issues
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb4/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][58] ([fdo#109271]) +27 similar issues
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-glk6/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-512x170-onscreen:
- shard-tglb: NOTRUN -> [SKIP][59] ([fdo#109279] / [i915#3359]) +3 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb1/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-suspend:
- shard-kbl: NOTRUN -> [SKIP][60] ([fdo#109271]) +89 similar issues
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-kbl2/igt@[email protected]
* igt@kms_cursor_legacy@2x-long-nonblocking-modeset-vs-cursor-atomic:
- shard-iclb: NOTRUN -> [SKIP][61] ([fdo#109274] / [fdo#109278])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb3/igt@kms_cursor_legacy@2x-long-nonblocking-modeset-vs-cursor-atomic.html
* igt@kms_cursor_legacy@nonblocking-modeset-vs-cursor-atomic:
- shard-glk: [PASS][62] -> [DMESG-WARN][63] ([i915#118] / [i915#95]) +2 similar issues
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-glk7/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-glk4/igt@[email protected]
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-kbl: [PASS][64] -> [INCOMPLETE][65] ([i915#155] / [i915#180] / [i915#636])
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-kbl7/igt@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-kbl7/igt@[email protected]
* igt@kms_flip@2x-nonexisting-fb-interruptible:
- shard-iclb: NOTRUN -> [SKIP][66] ([fdo#109274]) +1 similar issue
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb4/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs:
- shard-tglb: NOTRUN -> [SKIP][67] ([i915#2587])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb7/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilercccs:
- shard-apl: NOTRUN -> [SKIP][68] ([fdo#109271] / [i915#2672])
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-apl3/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- shard-iclb: NOTRUN -> [SKIP][69] ([fdo#109285])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb3/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][70] ([fdo#109285])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb7/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-gtt:
- shard-apl: [PASS][71] -> [FAIL][72] ([i915#49])
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-apl7/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-gtt.html
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-apl2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-gtt.html
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite:
- shard-apl: NOTRUN -> [FAIL][73] ([i915#49])
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-apl2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite.html
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-blt:
- shard-iclb: NOTRUN -> [SKIP][74] ([fdo#109280]) +8 similar issues
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb4/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-draw-pwrite:
- shard-tglb: NOTRUN -> [SKIP][75] ([fdo#111825]) +25 similar issues
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb2/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-draw-pwrite.html
* igt@kms_hdr@static-toggle-suspend:
- shard-tglb: NOTRUN -> [SKIP][76] ([i915#1187])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb6/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][77] ([i915#1187])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb6/igt@[email protected]
* igt@kms_pipe_crc_basic@read-crc-pipe-d-frame-sequence:
- shard-apl: NOTRUN -> [SKIP][78] ([fdo#109271] / [i915#533]) +1 similar issue
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-apl8/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-alpha-basic:
- shard-kbl: NOTRUN -> [FAIL][79] ([fdo#108145] / [i915#265]) +2 similar issues
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-kbl6/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-constant-alpha-max:
- shard-glk: NOTRUN -> [FAIL][80] ([fdo#108145] / [i915#265])
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-glk5/igt@[email protected]
- shard-apl: NOTRUN -> [FAIL][81] ([fdo#108145] / [i915#265]) +1 similar issue
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-apl7/igt@[email protected]
* igt@kms_plane_lowres@pipe-d-tiling-x:
- shard-tglb: NOTRUN -> [SKIP][82] ([i915#3536])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb6/igt@[email protected]
* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-5:
- shard-apl: NOTRUN -> [SKIP][83] ([fdo#109271] / [i915#658]) +2 similar issues
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-apl2/igt@[email protected]
* igt@kms_psr2_su@frontbuffer:
- shard-tglb: NOTRUN -> [SKIP][84] ([i915#1911])
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb2/igt@[email protected]
* igt@kms_psr@psr2_cursor_mmap_cpu:
- shard-iclb: [PASS][85] -> [SKIP][86] ([fdo#109441]) +1 similar issue
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-iclb2/igt@kms_psr@psr2_cursor_mmap_cpu.html
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb6/igt@kms_psr@psr2_cursor_mmap_cpu.html
* igt@kms_psr@psr2_primary_mmap_gtt:
- shard-tglb: NOTRUN -> [FAIL][87] ([i915#132] / [i915#3467]) +1 similar issue
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb6/igt@kms_psr@psr2_primary_mmap_gtt.html
- shard-iclb: NOTRUN -> [SKIP][88] ([fdo#109441])
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb7/igt@kms_psr@psr2_primary_mmap_gtt.html
* igt@kms_vblank@pipe-d-wait-forked-hang:
- shard-apl: NOTRUN -> [SKIP][89] ([fdo#109271]) +200 similar issues
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-apl3/igt@[email protected]
* igt@nouveau_crc@pipe-b-source-outp-complete:
- shard-tglb: NOTRUN -> [SKIP][90] ([i915#2530])
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb3/igt@[email protected]
* igt@perf_pmu@event-wait@rcs0:
- shard-iclb: NOTRUN -> [SKIP][91] ([fdo#112283])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb6/igt@perf_pmu@[email protected]
- shard-tglb: NOTRUN -> [SKIP][92] ([fdo#112283])
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb3/igt@perf_pmu@[email protected]
* igt@prime_nv_api@i915_self_import_to_different_fd:
- shard-tglb: NOTRUN -> [SKIP][93] ([fdo#109291]) +2 similar issues
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb1/igt@prime_nv_api@i915_self_import_to_different_fd.html
* igt@prime_nv_test@i915_import_cpu_mmap:
- shard-iclb: NOTRUN -> [SKIP][94] ([fdo#109291]) +1 similar issue
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb3/igt@prime_nv_test@i915_import_cpu_mmap.html
* igt@sysfs_clients@busy:
- shard-tglb: NOTRUN -> [SKIP][95] ([i915#2994]) +2 similar issues
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb1/igt@[email protected]
* igt@sysfs_clients@fair-7:
- shard-apl: NOTRUN -> [SKIP][96] ([fdo#109271] / [i915#2994]) +3 similar issues
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-apl2/igt@[email protected]
* igt@sysfs_clients@split-25:
- shard-glk: NOTRUN -> [SKIP][97] ([fdo#109271] / [i915#2994]) +1 similar issue
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-glk3/igt@[email protected]
* igt@sysfs_clients@split-50:
- shard-kbl: NOTRUN -> [SKIP][98] ([fdo#109271] / [i915#2994]) +1 similar issue
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-kbl3/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][99] ([i915#2994]) +1 similar issue
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb3/igt@[email protected]
* igt@tools_test@sysfs_l3_parity:
- shard-iclb: NOTRUN -> [SKIP][100] ([fdo#109307])
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb8/igt@tools_test@sysfs_l3_parity.html
- shard-tglb: NOTRUN -> [SKIP][101] ([fdo#109307])
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb1/igt@tools_test@sysfs_l3_parity.html
#### Possible fixes ####
* igt@gem_exec_endless@dispatch@bcs0:
- shard-iclb: [INCOMPLETE][102] -> [PASS][103]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-iclb2/igt@gem_exec_endless@[email protected]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb7/igt@gem_exec_endless@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-iclb: [FAIL][104] ([i915#2842]) -> [PASS][105] +1 similar issue
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-iclb8/igt@gem_exec_fair@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb5/igt@gem_exec_fair@[email protected]
- shard-glk: [FAIL][106] ([i915#2842]) -> [PASS][107]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-glk2/igt@gem_exec_fair@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-glk1/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none-vip@rcs0:
- shard-kbl: [FAIL][108] ([i915#2842]) -> [PASS][109] +2 similar issues
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-kbl1/igt@gem_exec_fair@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-kbl4/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-tglb: [FAIL][110] ([i915#2842]) -> [PASS][111]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-tglb7/igt@gem_exec_fair@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb8/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vcs0:
- shard-kbl: [SKIP][112] ([fdo#109271]) -> [PASS][113]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-kbl6/igt@gem_exec_fair@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-kbl6/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-iclb: [FAIL][114] ([i915#2849]) -> [PASS][115]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-iclb1/igt@gem_exec_fair@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb5/igt@gem_exec_fair@[email protected]
* igt@gem_mmap_gtt@cpuset-big-copy-odd:
- shard-iclb: [FAIL][116] ([i915#307]) -> [PASS][117]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-iclb3/igt@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb7/igt@[email protected]
* igt@gem_vm_create@destroy-race:
- shard-tglb: [FAIL][118] ([i915#2822]) -> [PASS][119]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-tglb5/igt@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb8/igt@[email protected]
* igt@i915_suspend@fence-restore-untiled:
- shard-kbl: [DMESG-WARN][120] ([i915#180]) -> [PASS][121] +1 similar issue
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-kbl1/igt@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-kbl2/igt@[email protected]
* igt@kms_big_fb@linear-32bpp-rotate-180:
- shard-glk: [DMESG-WARN][122] ([i915#118] / [i915#95]) -> [PASS][123]
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-glk1/igt@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-glk3/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@c-dp1:
- shard-apl: [DMESG-WARN][124] ([i915#180]) -> [PASS][125] +2 similar issues
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-apl8/igt@kms_flip@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-apl2/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@psr-rgb101010-draw-render:
- shard-iclb: [FAIL][126] ([i915#49]) -> [PASS][127]
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-iclb3/igt@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb8/igt@[email protected]
* igt@kms_psr@psr2_suspend:
- shard-iclb: [SKIP][128] ([fdo#109441]) -> [PASS][129]
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-iclb5/igt@kms_psr@psr2_suspend.html
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb2/igt@kms_psr@psr2_suspend.html
* igt@perf@oa-exponents:
- shard-tglb: [INCOMPLETE][130] -> [PASS][131]
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-tglb6/igt@[email protected]
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-tglb3/igt@[email protected]
#### Warnings ####
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-3:
- shard-iclb: [SKIP][132] ([i915#2920]) -> [SKIP][133] ([i915#658])
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-iclb2/igt@[email protected]
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-iclb8/igt@[email protected]
* igt@runner@aborted:
- shard-kbl: ([FAIL][134], [FAIL][135], [FAIL][136], [FAIL][137], [FAIL][138], [FAIL][139]) ([i915#1436] / [i915#180] / [i915#3002] / [i915#3363]) -> ([FAIL][140], [FAIL][141], [FAIL][142], [FAIL][143], [FAIL][144], [FAIL][145], [FAIL][146], [FAIL][147]) ([i915#1436] / [i915#180] / [i915#1814] / [i915#2505] / [i915#3002] / [i915#3363] / [i915#92])
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-kbl3/igt@[email protected]
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-kbl1/igt@[email protected]
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-kbl1/igt@[email protected]
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-kbl4/igt@[email protected]
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-kbl1/igt@[email protected]
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-kbl1/igt@[email protected]
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-kbl2/igt@[email protected]
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-kbl1/igt@[email protected]
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-kbl7/igt@[email protected]
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-kbl3/igt@[email protected]
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-kbl1/igt@[email protected]
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-kbl1/igt@[email protected]
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-kbl1/igt@[email protected]
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/shard-kbl6/igt@[email protected]
- shard-apl: ([FAIL][148], [FAIL][149], [FAIL][150], [FAIL][151], [FAIL][152], [FAIL][153]) ([fdo#109271] / [i915#180] / [i915#3002] / [i915#3363]) -> ([FAIL][154], [FAIL][155], [FAIL][156]) ([i915#180] / [i915#3002] / [i915#3363])
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-apl2/igt@[email protected]
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10230/shard-apl8/igt@[email protected]
[150]: https://intel-gfx-ci.01.org/t
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5931/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Quoted 213 lines · Anson Jacob
From: Victor Lu <[email protected]>
Test to ensure unloading and loading of amdgpu driver works
Tested on:
ASIC: NAVI14Changes since v1:
* Added documentaion
* Updated commit messageSigned-off-by Victor Lu <[email protected]>Co-developed-by Anson Jacob <[email protected]>Cc Petri Latvala <[email protected]>Cc Rodrigo Siqueira <[email protected]>Cc Harry Wentland <[email protected]>Cc Mark Yacoub <[email protected]>--- lib/igt_kmod.c | 59 ++++++++++++++++++++++++ lib/igt_kmod.h | 3 ++ tests/amdgpu/amd_module_load.c | 83 ++++++++++++++++++++++++++++++++++ tests/amdgpu/meson.build | 1 + 4 files changed, 146 insertions(+) create mode 100644 tests/amdgpu/amd_module_load.clib/igt_kmod.c +59
-0@@ -433,6 +433,65 @@ igt_i915_driver_unload(void)return IGT_EXIT_SUCCESS ; } +/** +* igt_amdgpu_driver_load: +* @opts: options to pass to amdgpu driver +* +* Returns: IGT_EXIT_SUCCESS or IGT_EXIT_FAILURE. +* +* Loads the amdgpu driver and its dependencies. +* +*/ +int +igt_amdgpu_driver_load (const char *opts) +{ +if (opts) +igt_info ("Reloading amdgpu with %s\n\n" , opts); + +if (igt_kmod_load ("amdgpu" , opts)) { +igt_warn ("Could not load amdgpu\n" ); +return IGT_EXIT_FAILURE ; + } + +bind_fbcon (true); + +return IGT_EXIT_SUCCESS ; +} + +/** +* igt_amdgpu_driver_unload: +* +* Returns: IGT_EXIT_SUCCESS on success, IGT_EXIT_FAILURE on failure +* and IGT_EXIT_SKIP if amdgpu could not be unloaded. +* +* Unloads the amdgpu driver and its dependencies. +* +*/ +int +igt_amdgpu_driver_unload (void ) +{ +bind_fbcon (false); + +if (igt_kmod_is_loaded ("amdgpu" )) { +if (igt_kmod_unload ("amdgpu" ,0 )) { +igt_warn ("Could not unload amdgpu\n" ); +igt_kmod_list_loaded (); +igt_lsof ("/dev/dri" ); +return IGT_EXIT_SKIP ; + } + } + +igt_kmod_unload ("drm_kms_helper" ,0 ); +igt_kmod_unload ("drm" ,0 ); + +if (igt_kmod_is_loaded ("amdgpu" )) { +igt_warn ("amdgpu.ko still loaded!\n" ); +return IGT_EXIT_FAILURE ; + } + +return IGT_EXIT_SUCCESS ; +} +static void kmsg_dump (int fd) {char record[4096 +1 ];lib/igt_kmod.h +3
-0@@ -39,6 +39,9 @@ int igt_kmod_unload(const char *mod_name, unsigned int flags);int igt_i915_driver_load (const char *opts);int igt_i915_driver_unload (void ); +int igt_amdgpu_driver_load (const char *opts); +int igt_amdgpu_driver_unload (void ); + void igt_kselftests(const char *module_name, const char *module_options, const char *result_option,tests/amdgpu/amd_module_load.c new file +83
-0@@ -0,0 +1,83 @@ +/* +* Copyright 2021 Advanced Micro Devices, Inc. +* +* Permission is hereby granted, free of charge, to any person obtaining a +* copy of this software and associated documentation files (the "Software"), +* to deal in the Software without restriction, including without limitation +* the rights to use, copy, modify, merge, publish, distribute, sublicense, +* and/or sell copies of the Software, and to permit persons to whom the +* Software is furnished to do so, subject to the following conditions: +* +* The above copyright notice and this permission notice shall be included in +* all copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR +* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +* OTHER DEALINGS IN THE SOFTWARE. +* +*/ + +#include "igt.h" +#include "igt_kmod.h" + +#include <amdgpu.h> +#include <amdgpu_drm.h> +#include <sys/ioctl.h> + +/** +* sanity_check: +* +* Ensures the driver is able to respond to DRM_IOCTL_AMDGPU_INFO ioctl +* with a timeout. +* +*/ +static void sanity_check (void ) +{ +int err =0 ; +int fd; +int arg_ret; +struct drm_amdgpu_info args = {0 }; + + args.return_pointer = (uintptr_t ) &arg_ret; + args.return_size =sizeof (int ); + args.query =AMDGPU_INFO_HW_IP_INFO ; + args.query_hw_ip.type =AMDGPU_HW_IP_COMPUTE ; + + fd =drm_open_driver (DRIVER_AMDGPU ); +igt_set_timeout (1 ,"Module reload timeout!" ); + +if (ioctl (fd,DRM_IOCTL_AMDGPU_INFO , &args) <0 ) + err = -errno; + +igt_set_timeout (0 ,NULL ); +close (fd); + +igt_assert_eq (err,0 ); +} + +igt_main +{ +igt_describe ("Make sure reloading amdgpu drivers works" ); + igt_subtest("reload") { +int err; +igt_amdgpu_driver_unload (); + + err =igt_amdgpu_driver_load (NULL ); + +igt_assert_eq (err,0 ); + +sanity_check (); + +igt_amdgpu_driver_unload (); + } + + igt_fixture + { +/* load the module back in */ +igt_amdgpu_driver_load (NULL ); + } +}tests/amdgpu/meson.build +1
-0@@ -9,6 +9,7 @@ if libdrm_amdgpu.found() 'amd_cs_nop', 'amd_info', 'amd_prime', + 'amd_module_load', ] amdgpu_deps += libdrm_amdgpu endifSignature · 1 line
2.25.1
lgtm, thanks
Signature · 2 lines
Rodrigo Siqueira https://siqueira.tech
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Rodrigo Siqueira
AppliedQuoted 217 lines · Rodrigo Siqueira
Quoted 213 lines · Anson Jacob
From: Victor Lu <[email protected]>
Test to ensure unloading and loading of amdgpu driver works
Tested on:
ASIC: NAVI14Changes since v1:
* Added documentaion
* Updated commit messageSigned-off-by Victor Lu <[email protected]>Co-developed-by Anson Jacob <[email protected]>Cc Petri Latvala <[email protected]>Cc Rodrigo Siqueira <[email protected]>Cc Harry Wentland <[email protected]>Cc Mark Yacoub <[email protected]>--- lib/igt_kmod.c | 59 ++++++++++++++++++++++++ lib/igt_kmod.h | 3 ++ tests/amdgpu/amd_module_load.c | 83 ++++++++++++++++++++++++++++++++++ tests/amdgpu/meson.build | 1 + 4 files changed, 146 insertions(+) create mode 100644 tests/amdgpu/amd_module_load.clib/igt_kmod.c +59
-0@@ -433,6 +433,65 @@ igt_i915_driver_unload(void)return IGT_EXIT_SUCCESS ; } +/** +* igt_amdgpu_driver_load: +* @opts: options to pass to amdgpu driver +* +* Returns: IGT_EXIT_SUCCESS or IGT_EXIT_FAILURE. +* +* Loads the amdgpu driver and its dependencies. +* +*/ +int +igt_amdgpu_driver_load (const char *opts) +{ +if (opts) +igt_info ("Reloading amdgpu with %s\n\n" , opts); + +if (igt_kmod_load ("amdgpu" , opts)) { +igt_warn ("Could not load amdgpu\n" ); +return IGT_EXIT_FAILURE ; + } + +bind_fbcon (true); + +return IGT_EXIT_SUCCESS ; +} + +/** +* igt_amdgpu_driver_unload: +* +* Returns: IGT_EXIT_SUCCESS on success, IGT_EXIT_FAILURE on failure +* and IGT_EXIT_SKIP if amdgpu could not be unloaded. +* +* Unloads the amdgpu driver and its dependencies. +* +*/ +int +igt_amdgpu_driver_unload (void ) +{ +bind_fbcon (false); + +if (igt_kmod_is_loaded ("amdgpu" )) { +if (igt_kmod_unload ("amdgpu" ,0 )) { +igt_warn ("Could not unload amdgpu\n" ); +igt_kmod_list_loaded (); +igt_lsof ("/dev/dri" ); +return IGT_EXIT_SKIP ; + } + } + +igt_kmod_unload ("drm_kms_helper" ,0 ); +igt_kmod_unload ("drm" ,0 ); + +if (igt_kmod_is_loaded ("amdgpu" )) { +igt_warn ("amdgpu.ko still loaded!\n" ); +return IGT_EXIT_FAILURE ; + } + +return IGT_EXIT_SUCCESS ; +} +static void kmsg_dump (int fd) {char record[4096 +1 ];lib/igt_kmod.h +3
-0@@ -39,6 +39,9 @@ int igt_kmod_unload(const char *mod_name, unsigned int flags);int igt_i915_driver_load (const char *opts);int igt_i915_driver_unload (void ); +int igt_amdgpu_driver_load (const char *opts); +int igt_amdgpu_driver_unload (void ); + void igt_kselftests(const char *module_name, const char *module_options, const char *result_option,tests/amdgpu/amd_module_load.c new file +83
-0@@ -0,0 +1,83 @@ +/* +* Copyright 2021 Advanced Micro Devices, Inc. +* +* Permission is hereby granted, free of charge, to any person obtaining a +* copy of this software and associated documentation files (the "Software"), +* to deal in the Software without restriction, including without limitation +* the rights to use, copy, modify, merge, publish, distribute, sublicense, +* and/or sell copies of the Software, and to permit persons to whom the +* Software is furnished to do so, subject to the following conditions: +* +* The above copyright notice and this permission notice shall be included in +* all copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR +* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +* OTHER DEALINGS IN THE SOFTWARE. +* +*/ + +#include "igt.h" +#include "igt_kmod.h" + +#include <amdgpu.h> +#include <amdgpu_drm.h> +#include <sys/ioctl.h> + +/** +* sanity_check: +* +* Ensures the driver is able to respond to DRM_IOCTL_AMDGPU_INFO ioctl +* with a timeout. +* +*/ +static void sanity_check (void ) +{ +int err =0 ; +int fd; +int arg_ret; +struct drm_amdgpu_info args = {0 }; + + args.return_pointer = (uintptr_t ) &arg_ret; + args.return_size =sizeof (int ); + args.query =AMDGPU_INFO_HW_IP_INFO ; + args.query_hw_ip.type =AMDGPU_HW_IP_COMPUTE ; + + fd =drm_open_driver (DRIVER_AMDGPU ); +igt_set_timeout (1 ,"Module reload timeout!" ); + +if (ioctl (fd,DRM_IOCTL_AMDGPU_INFO , &args) <0 ) + err = -errno; + +igt_set_timeout (0 ,NULL ); +close (fd); + +igt_assert_eq (err,0 ); +} + +igt_main +{ +igt_describe ("Make sure reloading amdgpu drivers works" ); + igt_subtest("reload") { +int err; +igt_amdgpu_driver_unload (); + + err =igt_amdgpu_driver_load (NULL ); + +igt_assert_eq (err,0 ); + +sanity_check (); + +igt_amdgpu_driver_unload (); + } + + igt_fixture + { +/* load the module back in */ +igt_amdgpu_driver_load (NULL ); + } +}tests/amdgpu/meson.build +1
-0@@ -9,6 +9,7 @@ if libdrm_amdgpu.found() 'amd_cs_nop', 'amd_info', 'amd_prime', + 'amd_module_load', ] amdgpu_deps += libdrm_amdgpu endifSignature · 1 line
2.25.1lgtm, thanks
Quoted 5 lines
Reviewed-by Rodrigo Siqueira <[email protected]>Signature · 2 lines
Rodrigo Siqueira https://siqueira.tech
Applied,
Thanks a lot for your patch.
Signature · 2 lines
Rodrigo Siqueira https://siqueira.tech
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev